connect from clients in wifi environment [message #650427] |
Mon, 25 April 2016 03:19 |
rzkhan
Messages: 370 Registered: March 2005
|
Senior Member |
|
|
I have three laptops connected to internet using wifi MODEM. They all have configured "Obtain IP Address Automatically". In my tnsnames.ora file i have the following entry
test =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = 192.168.10.9)
(Port = 1521)
)
)
(CONNECT_DATA = (SID = ORCL)
)
)
It works fine. But each time when server_laptop is restarted, the IP changes and I have to change the HOST address in tnsnames.ora on each client.
When I give hostname in tnsnames.ora as below on clients
the connection does NOT work. What can be wrong? any Idea please?
RZKhan
|
|
|
|
Re: connect from clients in wifi environment [message #650430 is a reply to message #650429] |
Mon, 25 April 2016 05:51 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Sent as a PM -
Quote:
Re: connect from clients in wifi environment Mon, 25 April 2016 11:27
rzkhan
Messages: 329
Registered: March 2005
Senior Member
add to buddy list
The issue has been resolved. Thanks
the hostname was to be typed in in upper case letters. like SERVER_LAPTOP.
Thanks
This answer is not incorrect. If you read the RFC describing name resolution you'll see that hostnames are not case sensitive.
|
|
|