Originally Posted by Uva18
Yes i am using ip address.
you will NOT get a "Error name unable to resolve" if you are using IP address. This as i clearly stated above is a DNS issue in Windows. Add the NAME you are using along with the IP to your MS Windows host file. typically located C:/Windows/System 32/host, you will need to do this with admin rights and you will need to be able to view hidden files.
It should look something like this:
# 127.0.0.1 localhost
# ::1 localhost
After you have done that, reboot your MS Windows computer and you should be able to resolve names properly to your CentOS server.
i tried to modify the setting in konsole but permission denied (even in root).
What permissions were you trying to modify? You have to be careful when you start mucking around with system permissions like ssh and sshd.
You still have not told us what vs of CentOS you are running, but im going to go out on a limb here and guess it is semi modern, meaning v 5.x or 6.x, and that you have not changed SELinux settings from enforcing to permissive.
there is a very simple way to put SELinux in permissive. NEVER disable SELinux.