Skip to content
Snippets Groups Projects
Commit 433d690e authored by Félix  Sidokhine's avatar Félix Sidokhine Committed by Adrien Béraud
Browse files

fixed port issue

Change-Id: Ia65eded72a8fe297c25b74e32bd1956fe70b7cb4
parent 7a7a99bc
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ public class TomcatLauncher {
tomcat.start();
//Try to pop-up Web-UI
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
Desktop.getDesktop().browse(new URI(tomcat.getConnector().getScheme() + "://localhost:8080/templates/signup.html"));
Desktop.getDesktop().browse(new URI(tomcat.getConnector().getScheme() + "://localhost:" + tomcat.getService().findConnectors()[0].getPort() +"/templates/signup.html"));
} else {
log.info("There is no graphical interface on this system - please connect remotely!");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment