Internet is working properly but net able to ping.(putty is also not working because of that)

Asked by Nilay

Hi,
I am using firefox for accessing internet which is working properly but I am not able to ping(ip as well as any website).
Everything seems perfect but May be Because of that, Putty is not working(i have installed openssh server).
can anyone please help????

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
Nilay
Solved:
Last query:
Last reply:
Revision history for this message
Deren Wu (deren-wu) said :
#1

Do you mean you can surf the web site on your Ubuntu and cannot use putty on Windows to connect SSH server on Ubuntu?

Maybe you can provide your Ping command for reference. And how about the output of "netstat -tpl | grep ssh"?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Try:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null

Then try the web

Revision history for this message
Nilay (nilay-nilpat) said :
#3

Thanks deren and andrew

Seems like I have found the problem.

It was firewall which was not allowing me to and from ping ununtu.

Thanks once again.

Regards.