A community member has associated this post with a similar question:
How to create a azure pipeline to deploy a war file in apache tomcat running on azure VM

Only moderators can edit this content.

azure linux - apache tomcat url with private ip not working from the browser

Naresh Ponnagani (Contractor) 20 Reputation points
2025-03-18T18:27:12.05+00:00

Hi everyone

I am not able to access the apache tomcat url with private ip from the browser. Can anyone help me please on this.

tomcat running on azure linux server. nestart/nc/curl/wget giving 200 but still not working in browser.

Network settings alos added 8080 port allow to *.

netstat -an | grep ':80'

tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN

tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN

curl -Is [http://10.x.x.x:8080]

HTTP/1.1 200

Content-Type: text/html;charset=UTF-8

Date: Tue, 18 Mar 2025 17:52:20 GMT

wget [http://10.x.x.x:8080]

--2025-03-18 17:52:59-- [http://10.x.x.x:8080/]

Connecting to 10.x.x.x:8080... connected.

HTTP request sent, awaiting response... 200

Length: unspecified [text/html]

Saving to: ‘index.html’

index.html [ <=> ] 10.96K --.-KB/s in 0s

2025-03-18 17:52:59 (131 MB/s) - ‘index.html’ saved [11219]

Community Center | Not monitored
{count} votes