C
C
CodeRunner2017-10-05 03:19:05
Regular Expressions
CodeRunner, 2017-10-05 03:19:05

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"/>

Also turned off the windows firewall. What else could be a problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Derepko, 2019-06-27
@dauren101

^cdr_(.+)\.xml$
live

I
Ivan, 2017-10-05
@LiguidCool

Maybe your IP is not white?

E
Egor, 2017-10-05
@EgorKurier

You probably don't have a port forwarded on your router. This is necessary so that the router knows where to forward incoming requests. And also you need to open a port in your OC(8443) .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question