Fog Creek Software
Discussion Board

GetUrlPrefix returning ip address

For some reason, when email notifications are sent to users, the url is the ip address of the Fogbugz server.  Since the server is NAT'd, the ip address is a private ip ( so the external users cannot reach it via the url link.

Does anyone know what might be causing the GetUrlPrefix to return an ip instead of a hostname?

Ray Ellington
Friday, January 31, 2003

It just asks the HTTP server for its own name.  Usually it returns the name you are accessing it by.  So if you are internal and you type http://localhost/fogbugz then it thinks its name is localhost.  The opener of the bug that sent the email is probably accessing FogBUGZ by its IP instead of its DNS name.

Michael H. Pryor
Friday, January 31, 2003

*  Recent Topics

*  Fog Creek Home