Loading host and port from properties.