SAM Powershell Issue

I'm having trouble running SAM Powershell scripts on a new Polling engine.

Running as local host.

Account has local admin rights.

The sam template works on the other polling engines. The script also works from powershell on the new polling engine.

When I test the script in SAM it just keeps running with no response.

Any ideas?

What port is being used?

Thanks