Skip to content
Snippets Groups Projects
Commit bee88212 authored by Schuh Martin's avatar Schuh Martin
Browse files

Merge branch 'development' into 'DataBase'

# Conflicts:
#   src/main/java/module-info.java
parents dc470659 5c3c5997
No related branches found
No related tags found
4 merge requests!74V1,!73Initial commit,!71Merge DataBase into Development,!8Merge database branch into development branch
......@@ -27,8 +27,8 @@ public class Server {
private boolean started = false;
private static String ipaddress = "localhost";
/* public static void main(String[] args) throws IOException { //main method for testing purposes
//Uncomment these lines to test the server starting manually:
/* public static void main(String[] args) throws IOException { //main method for testing purposes
Server server = new Server();
log.info("server starting...");
server.start(ipaddress, 4444);
......@@ -38,7 +38,7 @@ public class Server {
public void startServer() throws IOException {
Server server = new Server();
log.info("server starting...");
server.start("localhost",4444);
server.start(ipaddress,4444);
}
public void start(String host_ip, int port) throws IOException {
......
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