Answer the question
In order to leave comments, you need to log in
How to configure Tomcat to be accessed from another machine?
Good afternoon! I sit the second day and can not find the answer. I made an html page, put it in the webapps/myapp/home.html folder. I start the server, through localhost:8080/myapp/home.html the page is displayed correctly, through 127.0.0.1:8080/myapp/home.html too. I looked at my ip on 2ip.ru, I try to log in from a computer that is not connected to this network, and nothing comes out. Already found tips on setting up the connector in this way:
<Connector port="8080" address="0.0.0.0" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"/>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question