diff --git a/gclc-socket/src/test/java/net/bigeon/gclc/socket/TestServer.java b/gclc-socket/src/test/java/net/bigeon/gclc/socket/TestServer.java index 27555f7..7610be3 100644 --- a/gclc-socket/src/test/java/net/bigeon/gclc/socket/TestServer.java +++ b/gclc-socket/src/test/java/net/bigeon/gclc/socket/TestServer.java @@ -76,8 +76,7 @@ public class TestServer { input.setPrompt("> \n"); output = new PluggableConsoleOutput(); manager = new DConnexionManager<>(); - SHELL = new SocketConsoleApplicationShell(PORT, - InetAddress.getByName("127.0.0.1")); + SHELL = new SocketConsoleApplicationShell(PORT, InetAddress.getLocalHost()); final ConsoleApplication app = ConsoleTestApplication.create(output, input, manager); SHELL.setInterface(new SocketConsoleInterface(input, output));