The host name earlier was , but now it should be only servername .

When I go to the web based OEM or DB Control in Oracle 10g, it shows the OEM screen. On the same screen I see the error

java.lang.Exception: UnknownHostException sending request ::

I want the host name to be servername not

Which oracle file needs to be changed..?