[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error Code



Hello,

> I'm getting the following error when calling the programs:
> "connect(): A route to the remote host is not available."

I guess the obvious question is this:  Is there a route to the remote host?

Type 'CFGTCP' <enter>  choose option #2.  Is there a route that tells 
the TCP/IP support in OS/400 how to get to the host?  Or to another 
router that, in turn, knows how to get to the host?

Or are you supposed to go through a proxy? (which knows how to get to 
the host..?)

> Judging by most of the other posts I'm guessing a firewall issue?

It seems unlikely that your firewall would return a 'no route to host' 
error message to HTTPAPI.  It'd be more likely to either discard the 
connection attempt entirely (in which case HTTPAPI would time out) or 
send back a "connection refused" error.

Returning "no route" would be a very bizarre and misleading thing for a 
firewall to return.

> Although I do not have the faintest idea of how and where to start
> looking? Any help would be greatly appreciated - thanks.

IMHO, the starting point is to know how your network is supposed to 
work.  How is your system supposed to send data to the Internet?  Does 
it send data to a router?  Does it send data to a proxy?

Once you know the answer to that, then you can ask your self "have I 
configured OS/400 to send data to that router?" or "have I told HTTPAPI 
to use that proxy?"
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------