Update test server to use getLocalHost rather than loopback.
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
parent
9374c5a681
commit
5e1050a9d7
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user