0

How to run a webpy code in public IP. If i give LAN IP it works fine but when i try to do the same with public IP I'm not able to do the same, it is giving as "socket.error: No socket could be created". I've tried as shown below:

python code.py <IP Address>:8080
Rejo Varghese
  • 67
  • 2
  • 9
  • Possible duplicate of [web.py - specify address and port](http://stackoverflow.com/questions/14444913/web-py-specify-address-and-port) – hB0 Mar 03 '17 at 12:03
  • specifying : should would fine... "No socket could be created" is what you'll get if your computer doesn't support that IP address. – pbuck Mar 03 '17 at 15:54

1 Answers1

0

I forgot to give the port number in router. It works fine when I assigned to router. Thanks.

Rejo Varghese
  • 67
  • 2
  • 9