Connect service form other PC in Lan network

31 views
Skip to first unread message

Vu Luong

unread,
Oct 29, 2015, 12:40:37 AM10/29/15
to web.py
When i follow tutorial in website, it worked fine with localhost:8080/servicename, but when i connect service with ServerIpAddress:8080/servicename form other pc, it didn't work.

Anand Chitipothu

unread,
Oct 29, 2015, 2:19:02 AM10/29/15
to webpy
On Wed, Oct 28, 2015 at 9:21 PM, Vu Luong <ltvu8...@gmail.com> wrote:
When i follow tutorial in website, it worked fine with localhost:8080/servicename, but when i connect service with ServerIpAddress:8080/servicename form other pc, it didn't work.

Try running it as:

python run.py 0.0.0.0:8080

That'll start the dev web server on interface 0.0.0.0, which is accessible from the network.

Anand

Vu Luong

unread,
Oct 29, 2015, 9:32:06 AM10/29/15
to web.py
Thank you, it worked like charm!
Reply all
Reply to author
Forward
0 new messages