mysql server can't resolve hostname or ipaddress except localhost
I have installed fedora 6 in my system to act as an intranet and mysql database, network ip config is set to static. I use php to connect mysql. I am wondering why I can't connect mysql using IP address or hostname but It would connect if I set it to localhost. I have assigned an hostname in my server. Version of mysql is 5.0.27.
Is there a way how I can connect using my IP address or hostname?