Set host and port from environment