• Post Reply Bookmark Topic Watch Topic
  • New Topic

auto-find telnet server  RSS feed

 
simone giusti
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
is there a way to auto-find a telnet server on a network ??

Suppose there is a server waiting on a port on a unknown IP address ...

I would like my app to explore network obtaing ip and port of this server, without having to set it manually.


thanks !
 
Tim Moores
Saloon Keeper
Posts: 3401
71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not knowing the IP address would be very unusual. Something like Bonjour might make that possible, but Telnet has really fallen out of favor due to its unsecured nature. Mind telling us a bit about the use case?
 
simone giusti
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:Not knowing the IP address would be very unusual. Something like Bonjour might make that possible, but Telnet has really fallen out of favor due to its unsecured nature. Mind telling us a bit about the use case?


I am programming a java app to remotely control a desktop software.
This software acts a server and my app is the client.
At the moment, I manually insert IP and port in app’s settings.
It would be better that app could find automatically these informations looking for software's inside server.
Would you help me suggesting a way to do that ??

Many thanks in advance.
 
Ron McLeod
Saloon Keeper
Posts: 1334
186
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
simone giusti wrote:It would be better that app could find automatically these informations looking for software's inside server.

It would be better to use some kind of announcement/discovery mechanism (SSDP is one of them) where your application advertises the services that it provides.  When the client starts-up, it listens for the advertisements to discover the application server(s) which offer the service(s) it needs.
 
Paul Clapham
Sheriff
Posts: 22099
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
simone giusti wrote:It would be better that app could find automatically these informations looking for software's inside server.


Really? If the Telnet server moved around your network and its IP address kept changing, then yes, it might be better. But most people don't set up networks where that sort of thing happens. Usually they put a Telnet server on one machine and then just leave it there.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!