Reputation: 3922
I have such problem. I have local http server (BottlePy or Django), and when i use http:// localhost/ or http:// 127.0.0.1/ - it loads immediately. But when i use my local ip (192.168.1.100), it loads very long time (some minutes). What could be the problem?
Server works on Ubuntu 11.
Upvotes: 0
Views: 119
Reputation: 64563
It looks like that you have problems with DNS. can you check this idea running host 192.168.1.100
on the host? Please also check that other DNS queries being quickly processed.
Check /etc/hosts
file for a quick-and-dirty solution.
Upvotes: 0
Reputation: 2788
you should take a look at
Slow Python HTTP server on localhost
similar issues has been resolved there.
Upvotes: 1