{
server.startServer(username, password, host, portNum, https);
}
catch(Exception ex)
{
server.shutdown();
String msg = mainApp.getLocaler().getBundleText("PopupErrorFailedToStartHttpServer") + " " + ex.getMessage();
String title = mainApp.getLocaler().getBundleText("PopupErrorTitle");
JOptionPane.showMessageDialog(mainApp.getJFrame(), msg, title, JOptionPane.ERROR_MESSAGE);
}