IP and port must be provided as command line arguments, and therefore set in run.bat.
Hostname lookup is not performed, it has to be an IP address.
