Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

TheSponge (TechnicalUser)
23 Mar 06 7:10
sounds strange, but how do I ping a TCP port on our works router?

I have opened up some ports in my access-list, but its not letting traffic through,

so I want to ping the port...to test

Thankyou

A+,Network +,CCNA

cyberspace (TechnicalUser)
23 Mar 06 11:23
As far as I know ping cannot be used to test a port, it just tests if the actual node is live.

For this sort of test you should use telnet to verify that the port is open.

eg. telnet 192.168.1.1 25 would telnet to the SMTP port.

'When all else fails.......read the manual'

chieftan (MIS)
23 Mar 06 12:09
The following is PING under windows:-

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
            [-r count] [-s count] [[-j host-list] | [-k host-list]]
            [-w timeout] destination-list

Options:
    -t             Ping the specified host until stopped.
                   To see statistics and continue - type Control-Break;
                   To stop - type Control-C.
    -a             Resolve addresses to hostnames.
    -n count       Number of echo requests to send.
    -l size        Send buffer size.
    -f             Set Don't Fragment flag in packet.
    -i TTL         Time To Live.
    -v TOS         Type Of Service.
    -r count       Record route for count hops.
    -s count       Timestamp for count hops.
    -j host-list   Loose source route along host-list.
    -k host-list   Strict source route along host-list.
    -w timeout     Timeout in milliseconds to wait for each reply.

In Linux/Unix I dont know.
KiscoKid (ISP)
23 Mar 06 13:24
You can't ping a port as ping and TCP operate at different layers.

You could however download a port scanner and scan for the port in question - that would seem to achieve the thing you're looking for.

Port scanners are two a penny so just Goggle for port scanner and you'll be spoilt for choice.
TheSponge (TechnicalUser)
23 Mar 06 15:57
thanks guys...........just cant seem to work out why ports are closed

even though I opened them in the access list!

A+,Network +

cyberspace (TechnicalUser)
24 Mar 06 5:34
have you tried telnetting to the port?

'When all else fails.......read the manual'

TheSponge (TechnicalUser)
27 Mar 06 6:39
yes it says it cant connect, but the port is open..

A+,Network +

cyberspace (TechnicalUser)
27 Mar 06 8:16
Is there a firewall blocking it somewhere?

'When all else fails.......read the manual'

PalmTest (TechnicalUser)
28 Mar 06 0:53
Perhaps you find the SuperScan tool from Foundstone usefull.
http://www.foundstone.com
then on the navigation bar, select Resources.
In the Resources Overview, select Free Tools.
Scroll down and click on the section header Scanning Tools.

HTH

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close