[mapserver-users] map not available over the Lan or internet

sunny74 sb.ray at hotmail.com
Wed Aug 12 09:21:03 EDT 2009


Hi Adrian,

I did as u suggested and next to port 8085 I see SubranilBasu:0  LISTENING
and not 0.0.0.0 or 127.0.0.1
as u have stated.


I don't understand the terms "listening on all interfaces" and "listening
only on loopback".Could u pls explain them.

Thanks for your reply.

Regards.



Adrian Popa wrote:
> 
> Make sure your server listens on all interfaces, not only on loopback. 
> You need to check apache's config for this and restart the server.
> 
> Also, you can do netstat -a (I think) on your windows system and look 
> for your port (8085). If next to it you see 0.0.0.0, it means the server 
> is listening on all interfaces. If you see 127.0.0.1, it means the 
> server is listening only on loopback.
> 
> Good luck.
> 
> 
> sunny74 wrote:
>> Hi,
>>
>> I am displaying map using mapserver and openlayers in aspx(ASP.NET) page.
>> But problem is that the map is displayed only on local machine and not
>> from
>> a remote machine on the Lan or Internet.
>> On doing some r&D i found that if the url is given as in a local machine
>> i.e
>>
>> http://localhost:8085/cgi-bin/mapserv.exe?map=WR_Shape/wrmap.map&mode=map
>>
>> Then map is displayed.
>> But if it is given like this,
>>
>> http://172.16.128.173:8085/cgi-bin/mapserv.exe?map=WR_Shape/wrmap.map&mode=map
>>
>> then it is not.
>>
>> So how can I get mapserver to display map with IP.
>>
>> Thanks for your replies.
>>   
> 
> 
> -- 
> --- 
> Adrian Popa
> NOC Division
> Network Engineer
> Divizia Centrul National de Operare Retea
> Departament Transport IP & Metro
> Compartiment IP Core & Backbone
> Phone: +40 21 400 3099
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/map-not-available-over-the-Lan-or-internet-tp3429997p3430637.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list