• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,

Any inputs from your side.

-Rakesh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic