Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
can a server have more than one port?
Joined: Jan 24, 2006
Sep 26, 2006 11:18:00
can a server listen on more than one port at a time?
You down with OOP? Yeah you know me!
Joined: Aug 24, 2005
Sep 26, 2006 11:50:00
Yes. A Java process can listen on many ports.
supports this by allowing you to define multiple connectors in the server.xml file.
Joined: Oct 20, 2005
Sep 27, 2006 00:31:00
A program can run different threads which will listen on different ports.
But in single thread server can listen to only one port.
Joined: Nov 29, 2005
Sep 27, 2006 01:10:00
Server is nothing but a program listening at some port..you can write a server which listens at any number of ports.
I agree. Here's the link:
subject: can a server have more than one port?
a question about port
Single Instance app, need to access object outside the scope
Doubt on Protocol & Port number
Can anyone explain this JNDI setting to me?
could anyone please answer this question.....
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014