The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Ports zsujith HP-UX 1 12-31-2007 04:45 PM
ports??? eloquent99 IP Networking 4 02-24-2003 05:56 PM
Ports Ralf UNIX for Dummies Questions & Answers 2 12-10-2002 12:07 PM
Ports Yaki UNIX for Dummies Questions & Answers 6 10-10-2002 12:07 PM
TCP/UDP Ports eugene_mayo IP Networking 5 08-26-2002 07:27 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-17-2007
walsh_j walsh_j is offline
Registered User
  
 

Join Date: May 2007
Posts: 3
Ports

Hi,

is it possible to check to see if I can connect to a particular port on another machine?

Thanks.
  #2 (permalink)  
Old 07-17-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Yes. Typically you

(a) try and use the application you intend to use and that knows the protocol for that port

or

(b) use "telnet <hostname> <port>" to confirm connectivity.
  #3 (permalink)  
Old 07-18-2007
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,952
Code:
(b) use "telnet <hostname> <port>" to confirm connectivity.
Most of the cases this might not be possible as, telnet-d might not have been enabled due to security reasons where login is permitted only through ssh-d
  #4 (permalink)  
Old 07-18-2007
ghostdog74 ghostdog74 is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2006
Posts: 2,518
if you have Python: you can use this script
  #5 (permalink)  
Old 07-18-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by matrixmadhan View Post
Most of the cases this might not be possible as, telnet-d might not have been enabled due to security reasons where login is permitted only through ssh-d
I am not referring to using telnetd, I am refering to the client telnet program to test for any specific active listening port.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0