Connection Refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2016 01:39 AM
Hi , I am using PUT method to update the short_description from Java program. But it is giving "Connection to https://dev14659.service-now.com:443 refused" exception. Please help me in that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2016 02:48 AM
make sure user id and password is correct:
new UsernamePasswordCredentials("admin", "Servicnow@123"));
Regards,Sushant Malsure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2016 02:54 AM
username and password is correct and changed from
credsProvider.setCredentials(new AuthScope(new HttpHost("instance.service-now.com")),
to
credsProvider.setCredentials(new AuthScope(new HttpHost("https://dev14659.service-now.com")),
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2016 02:57 AM
But giving the same exception
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2016 03:50 AM
please give a try again!
I dont see any problem on your instance.
when i tried updating the same sc_request_item from postman:
that was successful attempt.
Something must be wrong with your java snippet
Regards,Sushant Malsure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2016 02:23 AM
Hey Sushant finally PUT is working with URLConnection