• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

JVM DNS Caching

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my application, I use webservices deployed in another server for which I have a direct access i.e. a specific firewall rule has been implemented to allow direct connections.
I look up the webservices using the domain name of the server i.e. not using specific IP address of the hosted server.
IP address of the server got changed some 15 days ago, but my application was working fine till I did a restart last weekend. After the restart, my application is unable to access the webservices which is understandable.

My question is even after the IP change, my application was able to connect to the webservices server till I restarted my application. Can anyone please explain me how is this possible?
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I look up the webservices using the domain name of the server i.e. not using specific IP address of the hosted server.
IP address of the server got changed some 15 days ago, but my application was working fine till I did a restart last weekend. After the restart, my application is unable to access the webservices which is understandable.



If you look up the web services using the domain name, why do you think a change to the IP address of the server will have any effect on your look up?

If the domain name did not change, a change to the IP address will not effect looking up the web service by domain name.
 
Ganesh Dhakshinamurthy
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I access the webservices not through internet, its a firewall rule within the intranet which allows the connection between these two servers.
Now for my application to work, a new firewall rule has to be implemented allowing access between these two servers.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I look up the webservices using the domain name of the server



Your statement above states "domain name." Whether this is to the Internet or an Intranet, this does not make a difference.

If you have a DNS server implemented in your Intranet, then changing the IP address should not effect anything, if you indeed look up the services with the domain name.

If you do not have a DNS server implemented in your Intranet, then your statement above does not make any sense.
[ November 12, 2008: Message edited by: James Clark ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic