> I'm trying to access Tomcat from a remote location
> through a DLink 614+ Wireless Hub and firewall.
>
> I have SSH and FTP port forwaring working fine.
>
> I know Tomcat is up and running. I can also use
> "links" to browse Tomcat from the command line.
>
> I cannot seem to access Tomcat from my remove browser.
> I've checked the rules countless times. I am
> forwarding both UDP and TCP packets.
>
> Is there way to test basic connectivity to Tomcat via
> telnet?
>
> Is there something about HTTP that I am missing?
Yes, one can test http servers via telnet. The command line version
looks something like this:
$ telnet HOSTNAME PORT
GET / HTTP/1.0
Notes:
- HOSTNAME and PORT should be the hostname and port where tomcat is
running.
- before typing the GET line, wait until your telnet program
indicates that its established a connection
- after the GET line, you'll need to press return twice.
(The format of an http request is one request line, zero or more
header lines, then a blank line; the example above has
one request line, and no headers).
If you're using virtual hosting, you'll need to use an HTTP/1.1
request, which has a slightly different format.
$ telnet PHYSICALHOST POST
GET / HTTP/1.1
Host: VIRTUALHOST
(PHYSICALHOST is the physical hostname or ip address, while
VIRTUALHOST is the name of virtual host that you're trying to reach.
Again, press return twice when done).
--
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)