Hub listening address 0.0.0.0

Hello all! I am setting up whole team tools setup (HUB, TC, UT, US) and I've encountered an unexpected problem. All will be hosted on one server so the general idea is to let hub use port 80 since that's the gateway and rest of it will be other ports. When trying to setup HUB on http://127.0.0.1:80/ this message pops up in the UI 

Could not listen on address 0.0.0.0 and port 80

The request to http://127.0.0.1:8080/api/wizard/connections fails 400 with the payload 

{baseUrl: "http://127.0.0.1:80/", listenAddress: "0.0.0.0", listenPort: "80"}

Now my question is why it tries to bind to 0.0.0.0 when I specified 127.0.0.1 and if it needs to be that way, how can I make it work on windows 2012r2 where the address is occupied? 

Thanks, hope you can help :) 

1 comment
Comment actions Permalink
Official comment

Hello Peter, I'm very sorry that this post was (unintentionally) left unanswered.
Just in case you or someone else finds this question and wonders what the answer is:
0.0.0.0 is a default value, listen-address can be customized from cli:
`\bin\hub.bat configure --listen-address=127.0.0.1` (command should be run from elevated CMD in case Hub is installed as MSI),
However, we can't imagine a case when such configuration would be useful because the address 127.0.0.1 is available only locally.
So what we can actually recommend is to configure a proxy and set there a mapping to the desired ports.

Please sign in to leave a comment.