Enabled remote host port number and server name to be configured through ioc.