Fix ports to refer to serverPort not web server port

Jira issue: WP-959