Go Back   AnandTech Forums > Hardware and Technology > Networking

Forums
· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· Memory and Storage
· Power Supplies
· Cases & Cooling
· SFF, Notebooks, Pre-Built/Barebones PCs
· Networking
· Peripherals
· General Hardware
· Highly Technical
· Computer Help
· Home Theater PCs
· Consumer Electronics
· Digital and Video Cameras
· Mobile Devices & Gadgets
· Audio/Video & Home Theater
· Software
· Software for Windows
· All Things Apple
· *nix Software
· Operating Systems
· Programming
· PC Gaming
· Console Gaming
· Distributed Computing
· Security
· Social
· Off Topic
· Politics and News
· Discussion Club
· Love and Relationships
· The Garage
· Health and Fitness
· Home and Garden
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals with Free Stuff/Contests
· Black Friday 2014
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions
   

Reply
 
Thread Tools
Old 08-15-2005, 03:44 PM   #1
borosp1
Senior Member
 
Join Date: Apr 2003
Posts: 290
Default how do you ping an ip address and port number

Is there any ping cmd or tool that allows for pinging an ip address thats not a default port?

i.e 192.168.xxx.x on port 1521

Basically we are having a problem where I am timing out when I try to hit an oracle database on another server. I can ping the server IP and it returns 100%, but a tnsping of the db times out. Oracle uses port 1521 for communication.

I think this is not feasable because probably the pinging of an ip of a server is on a designated port.



borosp1 is offline   Reply With Quote
Old 08-15-2005, 03:58 PM   #2
dphantom
Diamond Member
 
dphantom's Avatar
 
Join Date: Jan 2005
Posts: 3,350
Default how do you ping an ip address and port number

I do not believe you can ping a specific port. You can count hops, resolve address to hostname, number of echo requests to send etc...
__________________
http://www.orbat.com/
"War is an ugly thing, but not the ugliest of things. The ugliest is the man who thinks nothing is worth fighting and dying for and lets men better and braver than himself protect him." - John Stuart Mill, 1859
"To lodge all power in one party and keep it there is to insure bad government." - Mark Twain
dphantom is offline   Reply With Quote
Old 08-15-2005, 04:02 PM   #3
wkinney
Senior Member
 
Join Date: Dec 2004
Posts: 268
Default how do you ping an ip address and port number

ping uses ICMP, which is part of the IP protocol, not UDP or TCP (in which ports are established).
you can use programs that scan hosts for open ports, like superscan.exe, to see if its a network communication problem.

edit:
also, make sure your tnsnames.ora is set properly.
wkinney is offline   Reply With Quote
Old 08-15-2005, 04:06 PM   #4
spidey07
No Lifer
 
spidey07's Avatar
 
Join Date: Aug 2000
Posts: 65,476
Default how do you ping an ip address and port number

you can't "ping" a port per say as that is ICMP, not udp/tcp.

Easiest way is to telnet to the port "telnet 10.1.1.1 1521"

If it is immediately disconnected then the port is on a live host and is closed (or a firewall sent you a TCP reset). If a window opens the port is open. If it times out then you didn't reach the host/port (or a firewall dropped the packet)
__________________
___
(\__/)
(='.'=)
(")_(")
spidey07 is offline   Reply With Quote
Old 08-15-2005, 04:25 PM   #5
tami
Lifer
 
Join Date: Nov 2004
Location: NYC area
Posts: 11,475
Default how do you ping an ip address and port number

yup. you can't ping a port, but you can attempt to access the service via telnet as spidey said.

can you restart oracle?
tami is offline   Reply With Quote
Old 08-15-2005, 04:30 PM   #6
borosp1
Senior Member
 
Join Date: Apr 2003
Posts: 290
Default how do you ping an ip address and port number

Thanks guys for the quick replys. The Oracle Server is working its just I cant ping from the 2 webservers. On a 3rd application server the pinging of the database works fine.

I think its a network issue relating to the firewall and ports not being opened.
borosp1 is offline   Reply With Quote
Old 08-15-2005, 04:34 PM   #7
spidey07
No Lifer
 
spidey07's Avatar
 
Join Date: Aug 2000
Posts: 65,476
Default how do you ping an ip address and port number

Quote:
Originally posted by: borosp1
Thanks guys for the quick replys. The Oracle Server is working its just I cant ping from the 2 webservers. On a 3rd application server the pinging of the database works fine.

I think its a network issue relating to the firewall and ports not being opened.
First rule of networking.

1) It is never a network problem.

Second rule

2) Always the server/application, never a network problem. The network is fine. Nothing to see here, move along.
__________________
___
(\__/)
(='.'=)
(")_(")
spidey07 is offline   Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT -5. The time now is 11:51 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.