And in another console
mvn jetty:run -Djetty.port=8090
Then, open two clients connecting to server at 8080 and 8090 respectively in your browser and see that chat event from server at port 8080 is propagated to server at port 8090.
- You may have a problem with IPv6. Then, pass
-Djava.net.preferIPv4Stack=truein the command line.