- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Checking remote port connectivity/open
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2007 12:22 AM
тАО07-18-2007 12:22 AM
# telnet xx.yy.zz.com 1529
Trying 132.226.187.194...
Connected to (132.226.187.194).
Escape character is '^]'.
^]
telnet> close
Connection closed.
Any other method to check the port remote port is open or connectable?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2007 12:35 AM
тАО07-18-2007 12:35 AM
SolutionIf using something like 'nagios', you can use the 'check_tcp' plugin.
If you just want to do it from a command line, try using 'nc', i.e.:
nc xx.yy.zz.com 1529 < /dev/null
You can pipe a comamnd into it as well if you so desire.
'nc' will exit with 0 if successful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2007 01:02 AM
тАО07-18-2007 01:02 AM
Re: Checking remote port connectivity/open
You could use nmap which is included in quite a few Linux distros.
If you don't have it, you can download it from here:
http://insecure.org/nmap
For example you could test all 65535 TCP ports like so:
# nmap -v -p- 132.226.187.194
or for the specific port you mention with
# nmap -v -p1529 132.226.187.194
Hope this helps,
Regards,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2007 04:31 PM
тАО07-18-2007 04:31 PM
Re: Checking remote port connectivity/open
nmap can be the best option.
Cheers,
Moiz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2007 04:33 PM
тАО07-18-2007 04:33 PM