Hi.
I'm starting to use emrun to run html files locally, because it seems that
Firefox Quantum version 68 can't serve local files anymore (probably for
some security reason).
Now I've made some naive scripts to run my main.html using emrun, but after
some time I've discovered that it doesn't work anymore:
.../emsdk/upstream/emscripten/emrun.py", line 1641, in run
httpd = HTTPWebServer((options.hostname, options.port), HTTPHandler)
File "/usr/lib/python2.7/SocketServer.py", line 417, in __init__
self.server_bind()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.7/SocketServer.py", line 431, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use
After having read that by default the port used by emrun is 6931, I checked
and discovered that the port is already open :
lsof -i :6931
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python 3368 flix 3u IPv4 59440 0t0 TCP localhost:6931 (LISTEN)
So, the naive question is: how can I close it to "reset" the emrun call?
Thank you in advance.
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/emscripten-discuss/4a1b7a89-b5f2-4793-a2f7-95de8c0abafd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.