diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateConnector.cs b/OpenSim/Region/CoreModules/World/Estate/EstateConnector.cs index c7c502dda9..514f8f36ac 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateConnector.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateConnector.cs @@ -191,8 +191,8 @@ namespace OpenSim.Region.CoreModules.World.Estate try { string url = ""; - if(port != 0) - url = "http://" + region.ExternalHostName + ":" + port + "/"; + if(region.HttpPort != 0) + url = "http://" + region.ExternalHostName + ":" + region.HttpPort + "/"; else url = region.ServerURI;