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");
|
input.setPrompt("> \n");
|
||||||
output = new PluggableConsoleOutput();
|
output = new PluggableConsoleOutput();
|
||||||
manager = new DConnexionManager<>();
|
manager = new DConnexionManager<>();
|
||||||
SHELL = new SocketConsoleApplicationShell(PORT,
|
SHELL = new SocketConsoleApplicationShell(PORT, InetAddress.getLocalHost());
|
||||||
InetAddress.getByName("127.0.0.1"));
|
|
||||||
final ConsoleApplication app = ConsoleTestApplication.create(output, input,
|
final ConsoleApplication app = ConsoleTestApplication.create(output, input,
|
||||||
manager);
|
manager);
|
||||||
SHELL.setInterface(new SocketConsoleInterface(input, output));
|
SHELL.setInterface(new SocketConsoleInterface(input, output));
|
||||||
|
Loading…
Reference in New Issue
Block a user