ERROR: Binding connection to TCP port 7222 failed:10049(The specified address is not available from the local machine).

ERROR: Binding connection to TCP port 7222 failed:10049(The specified address is not available from the local machine).

book

Article ID: KB0088043

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Environment:
===========
All versions of TIBCO Enterprise Message Service across All OS

Resolution:
==========
This  occurrs because EMS attempted to create a socket with an address
which is not valid on the reporting machine.  

When EMS Server is started with the tibemsd.conf file with "listen  =tcp://&ltremote_box_IP:7222"

========================================
C:\tibco\ems\6.1\bin&gttibemsd

TIBCO Enterprise Message Service.
Copyright 2003-2011 by TIBCO Software Inc.
All rights reserved.

Version 6.1.0 V6 8/4/2011

2012-03-27 11:10:55.596 Process started from 'tibemsd'.
2012-03-27 11:10:55.596 Process Id: 9632
2012-03-27 11:10:55.597 Hostname: pbramank-T510
2012-03-27 11:10:55.598 Hostname IP address: 10.105.72.26
2012-03-27 11:10:55.598 Detected IP interface: 127.0.0.1 (loopback)
2012-03-27 11:10:55.599 Reading configuration from 'tibemsd.conf'.
2012-03-27 11:10:55.603 Server name: 'EMS-SERVER'.
2012-03-27 11:10:55.603 Storage Location: 'datastore'.
2012-03-27 11:10:55.604 Routing is disabled.
2012-03-27 11:10:55.604 Authorization is disabled.
2012-03-27 11:10:55.629 ERROR: Binding connection to TCP port 7222 failed:10049
(The specified address is not available from the local machine).
2012-03-27 11:10:55.629 FATAL: Exception in startup, exiting.
==========================================

This error resulted from an attempt to bind to an address that is not valid for the local machine, or connect/sendto an address or port that is not valid for a remote machine.
Note that EMS must run on a host computer with a permanent (static) IP. One  should use  any of the IP addresses from the ipconfig /all or ifconfig -a  to start an EMS server.

Issue/Introduction

ERROR: Binding connection to TCP port 7222 failed:10049(The specified address is not available from the local machine).