Check telnet port multiple server


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Check telnet port multiple server
# 1  
Old 05-09-2019
Check telnet port multiple server

Dear Team,


I want to check multiple linux server to check port open.
eg. 192.168.1.12 80,192.168.1.12 443


Please provide script for that?

Last edited by rbatte1; 05-09-2019 at 10:24 AM..
# 2  
Old 05-09-2019
@pradeep1807

unix.com is not a script writing service.

You should write your script and post and then our members will help you.

However, you must do your own work.
This User Gave Thanks to Neo For This Post:
# 3  
Old 05-09-2019
Have you considered the nmap tool?
This User Gave Thanks to rbatte1 For This Post:
# 4  
Old 05-09-2019
Or nc (netcat)?
This User Gave Thanks to RudiC For This Post:
# 5  
Old 05-09-2019
you realy should have a lock on nmap



nmap -p 443 192.168.1.0/24
This User Gave Thanks to wassi For This Post:
# 6  
Old 05-09-2019
Hello Pradeep,
I have googled and found some python codes doing this task.
You might do the same but seems like unethical.

Kind regards
Boris
This User Gave Thanks to baris35 For This Post:
# 7  
Old 05-10-2019
Unethical? Well, using those IP addresses, I would assume that this is an unroutable segment of your network (perhaps a private or management segment) rather than a public address. Using scanning tools such as have been mentioned on the public internet is probably unethical and might get your connection blocked by your service provider too. The tools can be used to look for weaknesses on the public internet so everyone is very wary of them and providers are quite hot on keeping their customers clean else other providers may block them out too.

Probing your own devices to see what ports are open, filtered or closed seems a valid thing to do, but don't go mad on it.




Kind regards,
Robin
This User Gave Thanks to rbatte1 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Telnet of multiple server and ports

Hi, I do a telnet to a single server using command :telnet tibserver001 9640 The output i get is : Trying 10.19.... Connected to tibserver001 However i need to put all the servers in a single file and get the output to see if the server is connected or not. #! /bin/bash telnet... (3 Replies)
Discussion started by: samrat dutta
3 Replies

2. Shell Programming and Scripting

*ix script to check port of client server and return output

Hello EveryOne, I am new to *ix. some could help to write a script. Problem :- Have to ssh to so many client and check port or filesystem usage, so thinking to automate using script. What i Need:- when i run script on my Launchpad server, it should Should ask and SSH to user provided... (3 Replies)
Discussion started by: MeFirst
3 Replies

3. IP Networking

telnet for port 5433 is not working while it works for port 22

Hi, I am trying to set up a dev environment and I have Ubuntu server (10.16.1.92) and a CentOS VM (10.16.3.235) on this. On the CentOS I have a program running on port 5433. Now my problem is that I am unable to telnet this port from another Windows server whereas I can telnet port 22 from... (5 Replies)
Discussion started by: rishav
5 Replies

4. HP-UX

how to check remote server port listening from application.

Hi, I have an application running on HP-UX, from this application I need to findout if the port number. lets say 7890,7891, 7892 are listening on the remote server running on HP-UX. Is there any way of doing it using "system()" function or any other? I noticed that nmap, netcat are not... (0 Replies)
Discussion started by: einsteinBrain
0 Replies

5. Red Hat

telnet port 23

My linux version is 2.6.18-194.e14 (Oracle enterprise linux). Could you please tell me how to enable telnet on the server. When I try to connect the server through another pc using telnet it is throwing error. Connecting To <ip address>...Could not open connection to the host, on port 23.... (3 Replies)
Discussion started by: oradba_arun
3 Replies

6. Cybersecurity

Can't telnet to port 25 on the host.

Hi, we have recently setup a new UNIX server with solaris 10 and I am having issue with with SMTP/sendmail. telnet localhost 25 --- works telnet hostname.domain.com 25 -- does not work. # telnet hostname.domain.com 25 Trying 10.122.1.111... telnet: Unable to connect to remote host:... (1 Reply)
Discussion started by: esmgr
1 Replies

7. Windows & DOS: Issues & Discussions

Telnet to a serial port

Hello all. I have an old computer with M$-DOS 7. I want to use it like a dumb terminal, with telnet. I need to connect it to my desktop These are my questions: How can i configure the serial port on dos? How can i telnet form dos to the serial port? How can i set up a telnet server on the... (12 Replies)
Discussion started by: mghis
12 Replies

8. AIX

Telnet to port

can some one help me ? what happens when we telnet to a port ? example telnet 192.168.0.xx 1234 where 1234 is a port number Thank you (5 Replies)
Discussion started by: anwesh
5 Replies

9. Shell Programming and Scripting

Telnet IP and Port Script

Hi, I would like to create a simple script that will telnet a number of IP and Ports one after the other to confirm connectivity to those addresses. I don't need to log on, just output to a file what the response is, i.e Escape Character, connectivity refused etc. Complete newbie to... (6 Replies)
Discussion started by: asou
6 Replies

10. Solaris

disabled telnet now need port 23 or port 22

we disabled telnet on solaris 9 via previous a thread. We use CMS (call management system) supervisor which used port 23 (telnet). We cannot use telnet via local directive and it was shut down as stated when we shut down telnet in the inetd file. I cannot now log into the CMS box since port 23 is... (3 Replies)
Discussion started by: panzerkw
3 Replies
Login or Register to Ask a Question