Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Beginning Java
can a server have more than one port?
Justin Fox
Ranch Hand
Posts: 802
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
can a server listen on more than one port at a time?
Justin
You down with OOP? Yeah you know me!
Scott Johnson
Ranch Hand
Posts: 518
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Yes. A
Java
process can listen on many ports.
For example,
Tomcat
supports this by allowing you to define multiple connectors in the server.xml file.
Srinivas Kalvala
Ranch Hand
Posts: 257
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
A program can run different threads which will listen on different ports.
But in single
thread
server can listen to only one port.
FYI:
http://www.iana.org/assignments/port-numbers
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Server is nothing but a program listening at some port..you can write a server which listens at any number of ports.
Rahul Bhattacharjee
LinkedIn
-
Blog
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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.....
More...