Browse Source

Made WebSys print when it starts and what port it is hosted on

master
Thomas Withiam 2 years ago
parent
commit
d17bd60ed3
  1. 1
      src/edu/clarkson/cosi/wishlist/WebSys/WebSys.java

1
src/edu/clarkson/cosi/wishlist/WebSys/WebSys.java

@ -144,6 +144,7 @@ public class WebSys implements IWebSys {
serverSocket.setExecutor(Executors.newCachedThreadPool()); // because isn't supporting more than one user at
// a time nice?
serverSocket.start();
System.out.println("HTTP server started on port " + port);
} catch (IOException e) {
e.printStackTrace();

Loading…
Cancel
Save