java - Using HTTPClient to connect to site on same server - getting Connection refused -
i have tomcat 5.0 server running various applications on unix server. on same server, have shell script uses org.apache.commons.httpclient , connect url on 1 of applications. has worked years.
i have moved applications virtual linux server , tomcat 6.0. when run shell script, get:
java.net.connectexception: connection refused
when update url application on different server, shell scrip completes successfully.
why can’t run shell script , access website running on same server? , can make work?
Comments
Post a Comment