ping java.sun.com......


 
Thread Tools Search this Thread
Operating Systems Solaris ping java.sun.com......
# 1  
Old 07-29-2011
ping java.sun.com......

Hello Admins,

I am trying to ping java.sun.com/xml/ns/j2ee from my solaris 10 command prompt... But it's saying unknown host..

I can ping google.com and others... Internet is OK..

What might be the issue?
# 2  
Old 07-29-2011
You don't ping a webpage, you ping an IP address or domain name. Get rid of the /xml/ns/j2ee
# 3  
Old 07-29-2011
But I am able to ping the same site from another standalone workstation...I mean from my laptop workstation... (for verification)
# 4  
Old 07-29-2011
Yes, ping is ICMP, echo and echo/reply, a child protocol of IP, not TCP (brother) or HTTP (nephew, child of TCP). Maybe the ping there ignores better.
This User Gave Thanks to DGPickett For This Post:
# 5  
Old 07-29-2011
That might be but why the solaris workstation which is running on my vmware is able to ping the same site .... ?

But only the server in my environment is not able to ...why so?
# 6  
Old 07-30-2011
Try looking up the addresses with "nslookup".
java.sun.com/xml/ns/j2ee is not a valid address for this purpose.

Even java.sun.com does not respond to ping.
sun.com does respond to ping.

I can only guess that you have some version of ping which simplifies the name (or an entry in /etc/hosts or local DNS which provides an IP address).

If you do need to ping an external server, keep it short! i.e. Use a parameter to ping to limit to say 2/3 packets. Please don't send continuous ping across the Internet.

Last edited by methyl; 07-30-2011 at 07:30 PM..
This User Gave Thanks to methyl For This Post:
# 7  
Old 07-31-2011
CAN anyone check adding to /etc/hosts will work??
I added to /etc/hosts and then i try to ping and it shows site is ALIVE...
Im not sure but it works...

ANY ADVICE SENIORS....want to is it good to go.....??
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question