Hi,
Server name : relayserver_host_name,
Port : 80 or 443 depends on your configuration
Farm ID : Relayserver_farm_ID which you defined in configuration
Actually if you keep default values on registration it will get Relay server configurtation automatically.
Regards
Tahir