Fix "Don't serve requests" option, update version number, fix typo

This commit is contained in:
Dmitry Isaenko 2020-09-25 02:56:09 +03:00
parent adabfbe860
commit 22b18710a5
4 changed files with 8 additions and 3 deletions

View file

@ -189,6 +189,10 @@ public class NetworkSetupValidator {
private void parsePort(String hostPortNum) throws Exception{
try {
this.hostPort = Integer.parseInt(hostPortNum);
if (doNotServe)
return;
serverSocket = new ServerSocket(hostPort);
logPrinter.print("NET: Using defined port number: " + hostPort, EMsgType.PASS);
}

View file

@ -32,7 +32,7 @@ import java.util.ResourceBundle;
public class NSLMain extends Application {
public static final String appVersion = "v4.3";
public static final String appVersion = "v4.4";
public static boolean isCli;
@Override