This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Exception

 
rakesh kadulkar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I get the exception


When I try to make a REST web service call using the jersey client API.
The same code works fine on my local machine , the only difference on local and on production is Local tomcat is running on port 8080 and production tomcat is running on port 80.
I have made the respective changes in the code.
My URL looks like "http://IP..Only/TJMS/services/fileservices/addfile".
I googled for this error and i found that this error occurs when the server is not running. But my server is running.
To track the error, I have used mozilla poster plugin to make the REST service call and I made call to the same URL mentioned above and for surprise it worked well.
Please assist me in this.

-Rakesh
 
rakesh kadulkar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Any inputs from your side.

-Rakesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic