I put Hub, teamcity, youtrack and upsource on same computer, all are behind my apache proxy that forward request on port 80 to each service based on url base to 127.0.0.1:portOfService (teamcity.mycomputer.com, etc).
Sometimes it happens that the port 8082 is already used when trying to launch upsource with "D:\mycomputer\upsource-3.5.3616\bin\upsource.bat start > D:\mycomputer\start_upsource.log"
Errors usually happens on restart of computer, like if I tried to access upsource but it was not started yet, then I go on server, try to start but port is used. It also happened after a good/failed stop of upsource if I do not mistaken.
With TcpView I cannot force close connection of that "non-existent" listening socket.
I manage to fix that by restarting computer and start upsource straight
Not related question:
On restart, hub service base url is always back to http://myComputerName:8080/hub but every time I set it back in service with http://myTestUrl.com/hub, I installed hub with http://myComputerName:8080/hub but then how to force on restart to listen on 8080 with base url "http://myTestUrl.com/hub"?