How to debug ERROR: HTTP request failed (listener unreachable or timed out)

I have created a powerShell Listener script on remote server to receive HTTP requests, on port 9094. I am getting that error “ERROR: HTTP request failed (listener unreachable or timed out)” when running a request to that server. By the way, I don’t know how to program with powerShell. I only googled, and that code is working in the Test environment, but now in Prod it’s not working.
What could be the reason?
I ran this:
PowerShell -ExecutionPolicy Bypass -File “E:\iXCDR\SCRIPT\FileManagerListener.ps1”
and Listener is already started. I also validated I can ping the server from local server.
Thanks

Hello,

You’re going to have to share some of your actual code, not just a line that calls a PowerShell script. When you do, please make sure to format your code using the “Preformatted Text” button:

Guide to Posting Code

Outside of Powershell my other thought is firewalls. Have you verified that there are no firewall blocks between the two machines?

1 Like