• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Continous listening to the post

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a requirement in which my java standalone application is installed in multiple server. The standalone program is continuously listening to port using java socket connection, these java program are to be initialized using web application.Java agent application once receive request from web application then it install the SSL certificate. My problem is that I am using same port in all instances of java standalone application.

Is there a way to execute the same standalone application from same source having same port. Can I pass hostname along with port so that I do not get conflict in calling the appropriate agent.


Regards
Sandeep Shukla
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let's put it this way: You can only have one application listening to Port X on Machine Y. I hope that answers your question. If it doesn't, it would help if you clarified your architecture because there's a lot of things in your description which all have similar names and seem to be doing similar things and I can't tell who is doing what to whom.
 
It's just like a fortune cookie, but instead of a cookie, it's pie. And we'll call it ... tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic