plaskowj
asked on
browsing to a Java Server
I have set up an application where a thread listens on a port, how can i browse to this port - using IE or Netscape
cheers
cheers
>> how can i browse to this port
you have to implment a small web server that serves the client request and returns the appropriate info (HTML status code)
you have to implment a small web server that serves the client request and returns the appropriate info (HTML status code)
..
In my view
telnet servername port
is the easiest tool to see the output on that particular port.
so ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
whow
heh
heh
http://host.name.com:710/path/to/file where 710 is the port which the thread is listening on.
If you want a more generic way to exchange 7-bit and 8-bit character data with a port, try using "telnet" instead. You can access telnet from your command/DOS prompt, or you can get a better one like CRT Telnet from:
http://www.vandyke.com/products/crt/index.html
With this tool, you can enter the hostname that you want to telnet to _and_ you can enter the port. You can also set terminal settings to address any quirks in the connection (i.e. 7-bit connection).
You now would enter standard commands that are expected and supported by the server. For HTTP, you can type things like "GET /" to interact with the server using raw instructions that are typically handled for you by your browser.
Telnetting to a port is a great debugging tool and also lets you determine if ports are up and running in an easy manner if you don't have a port-scanner installed on your machine.
There are a number of good port scanning tools. You can check these out at:
http://winfiles.cnet.com/apps/nt/net-info.html (typically the NT/98 versions are the same but realize that this URL is for the NT network tools).
Steve