ability to override the port in the agent configuration