Skip to content

Commit 8e4ef07

Browse files
committed
allow connections outside localhost
1 parent 8e18694 commit 8e4ef07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from http.server import SimpleHTTPRequestHandler, HTTPServer
22

3-
host_name = "localhost"
3+
host_name = "0.0.0.0"
44
server_port = 8080
55

66
class Server(SimpleHTTPRequestHandler):

0 commit comments

Comments
 (0)