Error: caused by: java.net.ConnectException: Connection refused: connect.

Error: caused by: java.net.ConnectException: Connection refused: connect.

book

Article ID: KB0089633

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:

Check the hostname you are trying to use in BW – if it has underscore in it “_” then you may see this issue .

According to RFC 2396, RFC 952, and RFC 1123, the underscore (_) is not a valid character in a hostname .
Underscores are not allowed (RFC 952 in the "ASSUMPTIONS" section).    

Here is a fragment of [RFC-952]:
         <name>  ::= <let>[*[<let-or-digit-or-hyphen>]<let-or-digit>]

Solution : Change your hostname, if necessary, so that it does not contain an underscore (_). You can use a dash (-) instead of an underscore.

Issue/Introduction

Error: caused by: java.net.ConnectException: Connection refused: connect.