Tomcat10 not able to connect using private IP

Luxi Liang 1 Reputation point


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!!!!

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