tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Brownlee" <osaru_onl...@hotmail.com>
Subject Re: Accessing localhost from a remote computer
Date Tue, 22 Apr 2003 02:45:40 GMT
try using netstat -an (the "n" causes netstat to print numbers instead of 
resolving host names and protocols).

>From: "JS" <smartt@dcs.kcl.ac.uk>
>Reply-To: smartt@dcs.kcl.ac.uk
>To: <tomcat-user@jakarta.apache.org>
>Subject: Re: Accessing localhost from a remote computer
>Date: Tue, 22 Apr 2003 02:55:55 +0100 (BST)
>
>Hi Tim,
>much appreciated cheers.
>Here's the latest:
>
>I ran netstat, output is below...
>C:\WINDOWS\jwsdp-1_0_01>netstat -a
>
>Active Connections
>
>   Proto  Local Address          Foreign Address        State
>   TCP    oemcomputer:8080       OEMCOMPUTER:0          LISTENING
>   TCP    oemcomputer:8081       OEMCOMPUTER:0          LISTENING
>   TCP    oemcomputer:1032       OEMCOMPUTER:0          LISTENING
>   TCP    oemcomputer:1073       OEMCOMPUTER:0          LISTENING
>   TCP    oemcomputer:1168       OEMCOMPUTER:0          LISTENING
>   TCP    oemcomputer:137        OEMCOMPUTER:0          LISTENING
>   TCP    oemcomputer:138        OEMCOMPUTER:0          LISTENING
>   TCP    oemcomputer:nbsession  OEMCOMPUTER:0          LISTENING
>   UDP    oemcomputer:1032       *:*
>   UDP    oemcomputer:1073       *:*
>   UDP    oemcomputer:1168       *:*
>   UDP    oemcomputer:nbname     *:*
>   UDP    oemcomputer:nbdatagram  *:*
>
>Is everything in order here??
>
>Back in server.xml, there are no address attributes with the connector
>elements. In fact, no address attrbutes in the whole file.Is there a 
>specific order for the use of atrtributes??
>
>Thanks again.
>
> > Oops, yeah, server.xml.
> >
> > <Connector address='localhost' >
> > or
> > <Connector address='127.0.0.1' >
> >
> > Run netstat -a
> > With any luck you'll see: (or close with a lot more stuff)
> >
> > Active Connections
> >
> >   Proto  Local Address          Foreign Address        State
> >   TCP    0.0.0.0:80             0.0.0.0:0              LISTENING
> >
> >
> > -Tim
> >
> > JS wrote:
> >> Hi Tim,
> >> I'm assuming you meant server.xml?????
> >> If so, I checked, and got a bit lost. There's a load of extra bits in
> >> there relating to the JWSDP.
> >> Under the GlobalNamingResources attribute, there are 2 services
> >> defined... i.e.<service>
> >> ....
> >> ...</service>
> >> <service>
> >> ...
> >> ...
> >> </service>
> >>
> >> Both of them have connecter elements defined inside them. Which
> >> attributes am I looking for to make sure it is bound to "localhost"?
> >> Thanks for your help
> >> J
> >>
> >>
> >>>Check the lines that say:
> >>><Connector ... >
> >>>and see if it is explicitly binding to localhost (and only localhost)
> >>>
> >>>-Tim
> >>>
> >>>
> >>>JS wrote:
> >>>
> >>>>Hi there, has anyone experienced this problem before.
> >>>>Basically, I have connected my laptop to the university network and
> >>>>have an IP allocated to my machine automatically.
> >>>>Most students who are using tomcat can then log onto another of the
> >>>>machines on the network and browse the apps on their localhost. For
> >>>>some reason I cannot do this when I have my tomcat server running. Is
> >>>>there a setting that I need to activate so that I can look at my
> >>>>machine remotely??? By the way, Im the only one who is using the Java
> >>>>Web Services Developer Pack, which has a preinstalled version of
> >>>>tomcat 4.1.2 Thanks
> >>>>
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For
> >>>additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For
> >> additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For
> > additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message