Products | Versions |
---|---|
TIBCO Streaming | 10.x |
When attempting to start a locally-installed node using the command..
epadmin servicename=MyNodeName start node..the attempt fails with the following error:
Error: [SWSocket::initClient: Call to 'connect' failed: Connection refused [errno:111]]The node install command did not report any errors, and appeared to be successful. Why can't the node then be started?
$ ping myhost PING myhost (10.10.10.100) 56(84) bytes of data.In the above example, the ip address for myhost is 10.10.10.100. If you don't have a second machine on the network available, you can instead obtain the ip address from the command line on the machine where the Streaming node is installed.
man ifconfig ipconfig /?Next, confirm the hostname of the machine by running the hostname command from a terminal window. This command works on both Windows and Linux. Staying with the above example, the value returned by the hostname command should be myhost.
127.0.0.1 localhost ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.10.10.100 myhost myhost.mydomainRebooting the machine may be required after making changes to the hosts file.