Outound REST message - java.net.SocketException: Socket Closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2021 03:39 AM
Hi All,
I am facing a java.net.SocketException: Socket Closed exception while trying to post a request to a 3rd party URL. This works fine via postman and issue occurs only when trying via Servicenow
- Labels:
-
Connect
- 2,449 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 10:46 PM
Did you consider whitelisting the instance IP in your firewall?
Please check your IP information of your instance here:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0538621
Best regards,
Kashyap G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2023 02:40 AM
Hello Team,
I have the same problem, and I'm not using a MID server. There are no restrictions blocking anything, and I've allowed all IP traffic to my AWS EC2 instance.
I can successfully use the API with Python and Postman, but I encounter issues when trying to connect from ServiceNow.