use Outbound rest api send request by midServer get StatusCode :0 The request failed: Request not sent to uri....

panda1
Kilo Guru

I send an outbound request to the target server through the mid server

 StatusCode:0

error message:The request failed: Request not sent to uri= xxxxx: org.apache.commons.httpclient.HttpException: The host did not accept the connection within timeout of 10000 ms *.xxxx

This looks like a network connect problem

 

My route looks like this:

ServiceNow -> Mid Server(in my local PC)  -> target Server

1.ServiceNow -> Mid Server(in my local PC) 

mid Server's Status is Up   and  mid Server's Validated  is Yes  

Can this indicate that the connection from servicenow to mid server is normal?

2.MidServer(in my local PC)  -> target Server

in my local PC  ,ping target Server is normal ,This indicates that my PC to target server is normal

Can this indicate that the connection from mid server to target Server is normal?

 

Does it seem that the mid server and the target server cannot be connected?

Is there any way to verify my idea? I don't know what to do

and What other circumstances may cause this problem?

supplement:The target server is running normally, and other applications on my local PC can directly access it

10 REPLIES 10

Glad to hear that I could help.