Opened 11 years ago

Closed 11 years ago

#401 closed defect (worksforme)

Config reverse proxy used 'localhost' will cause 'upstream time out' error

Reported by: Vincent IUnKnown Owned by:
Priority: minor Milestone:
Component: nginx-core Version: 1.3.x
Keywords: Cc:
uname -a:
nginx -V: nginx version: nginx/1.4.2

Description

I try to config a reverse proxy server from nginx, in the 'upstream' section, when I set like 'server localhost:8080', It may make a errer 'upstream timed out' in the error.log file.
When I test more, I found that nginx was well for proxy my tomact on 8080 port, but it was bad when proxy a http-server provided by 'web.py'- A python web framework.
If I change the config file that replace the 'localhost' with the IP, all of these will work well.
The version is 1.4.2

Change History (1)

comment:1 by Maxim Dounin, 11 years ago

Resolution: worksforme
Status: newclosed

Symptoms suggest you may have problems with IPv6 listen in your backend.

Note: See TracTickets for help on using tickets.