If you cannot connect to a site using the ACC try the following.
- use the host name instead of the IP address
- check that you are using the correct RMI port
- telnet to the site using the RMI port and see if you can connect
- check the ACC output window to see if there were any exceptions. if there was an
UnknownHostException
then try adding the host to yourhosts
file to fix the problem
Note: The host name you use should be the same as the java.rmi.server.hostname
Java argument that is set in the server’s postEnvironment.sh
.
JAVA_ARGS="${JAVA_ARGS} -Djava.rmi.server.hostname=kimcityqa"
good post,see this link also to find multiple ways of adding hosts.
http://atgtipsandtweaks.blogspot.com/2011/11/issues-opening-acc-not-resolving-host_23.html