Modbus TCP Settings

Hey there,
as i have issues with modbus RTU trying to change to TCP now
Can anyone explain how to setup the adapter?

  1. I can set IP–> any in the range of my system?
  2. Remote port → any? which one is the one in the Ymal file?
  3. Internal port → any?
  4. Baud rate → is it should be according to the RTU settings ?