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

plaskowjAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

s_franklinCommented:
If the thread is set up to listen for incoming http/gopher/ftp/... that is supported by your browser, you simply enter an address in your browser of the form:

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
0
heyhey_Commented:
>> 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)
0
vladi21Commented:
..
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Ravindra76Commented:

In my view

telnet servername port

is the easiest tool to see the output on that particular port.
0
heyhey_Commented:
so ?
0
yuvalgCommented:

I assume youve opened some inputstream
if youre listening.
You can that streams buffer by dumping it when it changes.

Make up a class that extends that stream, then the "buf" field which is protected is visible through your new class.

GoodLuck,
yuval.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
heyhey_Commented:
whow
heh
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.