<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I forgot... windows automatically replaces IP addresses with hostnames
when hostnames are known. SubranilBasu is your hostname and it matches
your ip address 127.0.0.1.<br>
<br>
The concept of listening on all/an interface is the following: when 
you start a server it can accept queries from all interfaces (it's
listening on ip1:8085, ip2:8085, 127.0.0.1:8085 - or a more compact way
of writing this is: 0.0.0.0:8085). The server can be started listening
only on one interface (for instance listening for queries on the
loopback interface 127.0.0.1) - and it will not reply to queries that
come on other interfaces.<br>
<br>
This is what the Listen directive does in apache. I think that it
should be Listen 0.0.0.0:8085 if you want to enable the web server on
all interfaces (but I haven't checked).<br>
<br>
Regards,<br>
Adrian<br>
<br>
sunny74 wrote:
<blockquote cite="mid:1250083263758-3430637.post@n2.nabble.com"
 type="cite">
  <pre wrap="">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:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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:
    </pre>
    <blockquote type="cite">
      <pre wrap="">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&amp;D i found that if the url is given as in a local machine
i.e

<a class="moz-txt-link-freetext" href="http://localhost:8085/cgi-bin/mapserv.exe?map=WR_Shape/wrmap.map&mode=map">http://localhost:8085/cgi-bin/mapserv.exe?map=WR_Shape/wrmap.map&amp;mode=map</a>

Then map is displayed.
But if it is given like this,

<a class="moz-txt-link-freetext" href="http://172.16.128.173:8085/cgi-bin/mapserv.exe?map=WR_Shape/wrmap.map&mode=map">http://172.16.128.173:8085/cgi-bin/mapserv.exe?map=WR_Shape/wrmap.map&amp;mode=map</a>

then it is not.

So how can I get mapserver to display map with IP.

Thanks for your replies.
  
      </pre>
    </blockquote>
    <pre wrap="">
-- 
--- 
Adrian Popa
NOC Division
Network Engineer
Divizia Centrul National de Operare Retea
Departament Transport IP &amp; Metro
Compartiment IP Core &amp; Backbone
Phone: +40 21 400 3099

_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>