Reputation: 1106
I am setting up a Nexus OSS on an Azure VM. I have set it up on a Ubuntu 16.04 LTS. When I connect to the webapp via an SSH tunnel, I can access the Nexus repository manager. When I try to open it directly, I cannot get it to work.
As per the Azure docs and several Stackoverflow responses, I have updated the NSG and added port 8081 to be allowed but with no success. I also check the UFW (Ubuntu Firewall) and it is not even activated.
EDIT :
netstat -plant | grep 8081
tcp 0 0 127.0.0.1:33519 0.0.0.0:* LISTEN 18081/java tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 18081/java tcp 0 0 127.0.0.1:8081 127.0.0.1:60242 TIME_WAIT - tcp 0 0 127.0.0.1:8081 127.0.0.1:60366 TIME_WAIT - tcp 0 0 127.0.0.1:8081 127.0.0.1:60244 TIME_WAIT -
EDIT2 :
admin@nexus-vm:~$ sudo iptables -nL INPUT Chain INPUT (policy ACCEPT) target prot opt source destination
Does anyone have any idea what could be wrong?
Thanks in advance!
Regards
Upvotes: 0
Views: 86
Reputation: 1106
The problem was the firewall of my company. Tested it over 4G and it works.
Upvotes: 0