request.remote_ip always returning 127.0.0.1
- Locell
- Posts: 3
- Starts: 3
- Wiki Edits: 0
Any ideas how you get it to resolve the correct ip address of the current visitor? Or is this something to do with how the environment is set up?
- William
- Posts: 1061
- Starts: 32
- Wiki Edits: 56
How/where are you calling the request.remote_ip ? Post some code and I'd be glad to help out (I'm assuming you're in production mode with no special environment configs?)
2007-03-18 03:00 AM
- Locell
- Posts: 3
- Starts: 3
- Wiki Edits: 0
Ha, you know what? This is why you shouldn't dev in the wee small hours... I was actually working on my local version :) What a muppet.
So never mind, completely down to my own muddled idiocy :)
So never mind, completely down to my own muddled idiocy :)