I have changed my ip-address of my server. my os is hpux 11.0, oracle 8.1.7 . I can telnet to the server. The below shows that i am using /etc/hosts
using /etc/hosts on : myhost
looking up FILES
Name : myhost
Address : 184.108.40.206
However, i have problems connecting to oracle with the message
TNS-12545: Connect failed because target host or object does not exist
ns secondary err code: 12560
nt main err code: 515
TNS-00515: Connect failed because target host or object does not exist
nt secondary err code: 2
nt OS err code: 0
This is resolved by changing the hostname to ip address and both my oracle and listener is up.
Any advise to what must be done so that i can use the hostname instead of the ip address?