We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e12291 commit cffe626Copy full SHA for cffe626
src/main/java/lu/pcy113/p4j/socket/client/P4JClient.java
@@ -96,7 +96,7 @@ public void bind() throws IOException {
96
* @throws IOException if the {@link Socket} cannot be created or bound
97
*/
98
public void bind(int port) throws IOException {
99
- bind(new InetSocketAddress(InetAddress.getLocalHost(), port));
+ bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), port));
100
}
101
102
/**
0 commit comments