Search code examples
jettyosgiequinox

Port in Jetty server (Equinox OSGi )


Good morning, I am deploying a Web Application into Jetty Server embebed into Equinox OSGi. Still, i works in port 8080, but I need to run two different servers. Then, a conflict between ports is launched. I would like to change port number in one of servers. Could someone help me please?

Thanks in advance!


Solution

  • try those system properties:

    jetty.port=xxxx - Jetty specific property

    org.osgi.service.http.port=xxxx - OSGi HTTP Service property