[mapserver-users] map not available over the Lan or internet
Adrian Popa
adrian_gh.popa at romtelecom.ro
Wed Aug 12 04:55:58 PDT 2009
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
More information about the MapServer-users
mailing list