Skip to content Skip to sidebar Skip to footer

Urllib Error Of Google App Engine & Python.[Errno 11003] Getaddrinfo Failed

Thanks for your help in advance! I want to get contents of a website, so I use urllib.urlopen(url). set url='http://localhost:8080'(tomcat page) If I use Google App Engine Launche

Solution 1:

Your system doesn't necessarily know that localhost should resolve to 127.0.0.1. You might need to put an entry into your hosts file. On Windows, it's located at C:\Windows\System32\drivers\etc\hosts


Post a Comment for "Urllib Error Of Google App Engine & Python.[Errno 11003] Getaddrinfo Failed"