Search code examples
jettyajp

Can't connect remote jetty ajp service


How can I allow public access to jetty-ajp service? I am able to connect locally ajp://localhost:8009/ but not from a remote node using schema ajp://192.168.2.1:8009/ . I achieved it with port forwarding but want to know if there is an another way.

Thanks,


Solution

  • AJP is not supported by Eclipse Jetty.

    If you must use Apache Httpd as a front end of Eclipse Jetty, know that the Eclipse Jetty project recommends using the mod_proxy services of Apache Httpd.

    See:

    If you are running an older version of Jetty that had AJP support, know that all of those versions are now EOL (End of Life).

    https://www.eclipse.org/jetty/documentation/current/what-jetty-version.html