Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] how to specify the port when using mvn:run-forked

If i'm using mvn:run-forked to run my webapp, how can i specify the
port my project is running on?

If i specify the following, mvn:run-forked still uses the default 8080 port.
       <configuration>
         <connectors>
           <connector
implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
             <port>9090</port>
           </connector>
         </connectors>


--
@tommychheng
http://tommy.chheng.com


Back to the top