Tomcat10 not able to connect using private IP

Luxi Liang 1 Reputation point
2022-06-15T19:43:17.253+00:00

Hello,

I am trying to install Tomcat10 Ubuntu on Azure VM connected by SSH.

My Azure VM only has a private IP (I do not want a public IP).
Problem: Tomcat will only connect to browser using a public IP (8080), which I don't have.

Is there anyway to connect to Tomcat using a private IP?

Please help! I am slowly losing the will to live, it's been 4 days already.

Thank you so much!!!!
L.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,130 questions
{count} votes