I'm running a Springboot application on Windows Server 2012 R2. It seems to demand port 80 when executed from a fat JAR but I don't even want to consider freeing up that port on a Windows server. There seem to be far too many steps involved. In order to bypass this temporarily I was wondering if it was possible to forward anyone that hits my url, i.e. http://webapp to http://ipAddress:8081 and continue to mask the IP/port address with the pretty url. Is this possible and how would I do this?
netsh interface portproxy add v4tov4 listenport=80 listenaddress=10.99.128.6 connectport=8081 connectaddress=10.99.128.6
Apparently this command wasn't enough. When I hit 10.99.128.6:80
it stays at port 80...
Even after examining and confirming the active port mappings:
netsh interface portproxy show v4tov4
Am I missing the point? I'm have no server admin experience. Just need to get this one thing going.