Skip to content

Commit 19ba68b

Browse files
committed
Change port
1 parent 6b765f3 commit 19ba68b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ardublocklyserver/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
document_root = ''
2525

2626

27-
def launch_server(ip='localhost', port=8000, document_root_=''):
27+
def launch_server(ip='0.0.0.0', port=8000, document_root_=''):
2828
"""Launch the Waitress server and Bottle framework with given settings.
2929
3030
:param ip: IP address to serve. Default to localhost, set to '0.0.0.0' to

start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import ardublocklyserver.compilersettings
2222

2323
# Server IP and PORT settings
24-
SERVER_IP = 'localhost'
24+
SERVER_IP = '0.0.0.0'
2525
SERVER_PORT = 8000
2626

2727

0 commit comments

Comments
 (0)