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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -