Request failed with status code: java.net.ConnectException: Connection refused (Connection refused) when posting to https://amazonaws.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2019 04:38 AM
Hi,
Getting following issue while establishing the connection with AWS.
Request failed with status code: java.net.ConnectException: Connection refused (Connection refused) when posting to https://amazonaws.com
Can any one assist in this.
Thanks,
Venkat Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2019 04:31 AM
Generally, a connection refused error means that the port you were trying to hit was not open. I would suggest validating the endpoint you are trying to hit is correct by looking at examples in the AWS api documentation.
Thanks,
Brent
If this helps please mark as helpful or correct so that others may benefit from this information as well.