Always bind on 0.0.0.0

This commit is contained in:
RaphiMC 2023-01-08 19:10:20 +01:00
parent 1b5edd4808
commit 52fb56732e
2 changed files with 1 additions and 2 deletions

View File

@ -6,4 +6,4 @@ org.gradle.configureondemand=true
# Project properties
maven_name=ViaProxy
maven_group=net.raphimc
maven_version=3.0.3
maven_version=3.0.4

View File

@ -157,7 +157,6 @@ public class GeneralTab extends AUITab {
try {
final HostAndPort hostAndPort = HostAndPort.fromString(serverAddress);
Options.BIND_ADDRESS = "127.0.0.1";
Options.BIND_PORT = bindPort;
Options.ONLINE_MODE = proxyOnlineMode;
Options.CONNECT_ADDRESS = hostAndPort.getHost();