Skip to content

Commit

Permalink
Accept Traffic From All Interfaces By Default
Browse files Browse the repository at this point in the history
  • Loading branch information
Konloch committed Nov 22, 2023
1 parent 53c2270 commit ca8375a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/src/main/java/com/konloch/socket/SocketServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public SocketServer(int port, SocketClientRunnable requestHandler) throws IOExce
public SocketServer(int port, int threadPool, SocketClientIsAllowed networkConnectionFilter,
SocketClientRunnable requestHandler, SocketClientRunnable onDisconnect)
{
this("localhost", port, threadPool, networkConnectionFilter, requestHandler, onDisconnect);
this("0.0.0.0", port, threadPool, networkConnectionFilter, requestHandler, onDisconnect);
}

/**
Expand Down

0 comments on commit ca8375a

Please sign in to comment.