user1331582
user1331582

Reputation: 105

Tomcat standalone accessing from external ip

I have tomcat server running fine from eclipse, but when i use standalone tomcat i cant access it from external ip only from localhost.. does anybody know why this happens??

Upvotes: 2

Views: 6838

Answers (1)

Tomasz Nurkiewicz
Tomasz Nurkiewicz

Reputation: 340813

Find server.xml file under /conf directory in your Tomcat installation dir. Find the <Connector> declaration and add address="0.0.0.0":

<Connector port="8080" address="0.0.0.0"

Upvotes: 3

Related Questions