RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

How do I ping a specific port of a remote server?

Question:

How do I ping a specific port of a remote server? I need to find out whether the port on the remote server is open.

Answer:

ping utility does not allow you to ping specific port on you remote server. To see whether a specific port is open on a remote server you can use port-scanner such as nmap or simply try connect to a socket ( IP-address:port ) using telnet. In the example below we test whether a port number of TCP port 80 is open a host google.com:

# nmap -p 80 -sT google.com
or
# nmap -p 80 google.com

To test a UDP port 80 use:

# nmap -p 80 -sU google.com

other way to test whether a specific port is open on a remote server is to use telnet command. Below we test whether a port 443 on host google.com is open:

# telnet google.com 443
Trying 74.125.237.19...
Connected to google.com.
Escape character is '^]'.

The output above shows that port 433 is opened on host google.com.
Linux questions and answers

Share this linux post:

Submit How do I ping a specific port of a remote server? in Delicious Submit How do I ping a specific port of a remote server? in Digg Submit How do I ping a specific port of a remote server? in FaceBook Submit How do I ping a specific port of a remote server? in Google Bookmarks Submit How do I ping a specific port of a remote server? in Stumbleupon Submit How do I ping a specific port of a remote server? in Technorati Submit How do I ping a specific port of a remote server? in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download