Listen on IPv4 port 43112 by default
This commit is contained in:
1 parent
4801cfbe77
commit
0aad4f27eb
6 files changed
+44
-13
No files matched your search
@@ -34,7 +34,7 @@ func runCommandLine(_ arguments: [String]) {
|
||||
server.start { state in
|
||||
switch state {
|
||||
case let .success(port):
|
||||
print("EzServer Mac is listening on http://127.0.0.1:\(port)")
|
||||
print("EzServer Mac is listening on http://0.0.0.0:\(port)")
|
||||
fflush(stdout)
|
||||
case let .failure(error):
|
||||
FileHandle.standardError.write(Data("Could not start EzServer: \(error.localizedDescription)\n".utf8))
|
||||
|
||||
Reference in new issue
Block a user