Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My server is using a fully qualified domain name or IP address, so why do I still get an UnknownHostException?

0
Posted

My server is using a fully qualified domain name or IP address, so why do I still get an UnknownHostException?

0

Depending on the configuration of your network’s name service, a fully qualified hostname that is recognized on one Java RMI host may not be resolvable from another Java RMI host. Some examples where this situation may arise are: • Misconfigured DHCP servers may set the fully qualified domain name of Java RMI server machines to be the domain name of the resolver domain instead of the domain in which the Java RMI server actually resides. In this case, Java RMI clients outside the server’s DHCP domain will be unable to contact the server, because of its incorrect domain name. • The server machine is on a network that is configured to use WINS. Hosts that are only registered under WINS may not be reachable by hosts that rely solely upon DNS. • The Java RMI client and server reside on opposite sides of a firewall. If your Java RMI client lies outside a firewall and the server resides inside it, the client will not be able to make any remote calls to the server. If the Java RMI client lies

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123