Starting with Tomcat version 8.5.5, I had to add following code in the server.xml file to get access from the outside world. In previous versions, this was not necessary. But as I read, they introduced the default to internal access only for security reasons.
In <Connector ... (for port 8080 or another)
- Code: Select all
useIPVHosts="true"
and in <Valve ...
- Code: Select all
resolveHosts="true"
Is this security wise an acceptable solution or are there better ones?
- Servoy 8.1
- OS X 10.11.6
- Java 1.8.0_101
Best regards,