I want to show a friend from far my Tomcat stuff. So, I tried to make my Tomcat accessible to external ip. And, of course - that's why I'm here ;-) - it didn't work.
The XAMPP 3.2.2 runs on win7 in a LAN.
I tried the following steps:
Router:
- set ip static
- portforwarding for Tomcat ports
Firewall:allowed access for
- Commons Daemon Service Manager
- Apache HTTP Server
extended options
- opend Apache HTTP Server to private and public
- opend Commons Doemon Service Manager to private public
- opend the ports for Tomcat
cmd:
- "netstat -an" showed me that port 8080 is listening
software:
- uninstalled VM Ware
tomcat: I read a lot of stuff about Tomcat configuration. I got the impression, that by default one can access Tomcat from outside. Setting up contexts is much more to develop a more detailled regulation; at least I didn't find sth. about this in tutorials.
server.xml - installed host "dummytest" in addition to localhost in server.xml; and also pasted this in the win host file 127.0.0.1 dummyhost
- set resolveHosts="true"
The thing is: I can access the Apache (on port 80) but not the Tomcat