Skip to main content

Cannot connect to REST endpoint

Suggest edit
Updated on April 6, 2022

Troubleshoot problems with REST connectivity by validating the REST endpoint.

Condition

You might see java.net.ConnectException: Connection refused in the log file.

Cause

The client firewall security is blocking the outgoing request.

Resolving issues with REST network connectivity

  • Confirm that you are using the correct port for the correct protocol.
  • Validate that you can reach the endpoint by using telnet, cURL, or Postman.
  • If you can reach the endpoint outside of Pega Platform, determine whether the external system firewall is causing the issue.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us