If the X server is configured securely, it won't allow incoming connections.
To allow incoming connections, run the command
xhost +
before starting Tomcat.
If the X server is configured securely, it won't allow incoming connections.
To allow incoming connections, run the command
xhost +
before starting Tomcat.