Venu,
If you're connecting to a remote machine, you need to use the ip
address/host name of that machine. You seem to be using loclahost to
connect.
R,
rahul
On Fri, 2011-01-21 at 01:49 -0800, venu gopal wrote:
> Hi,
>
> I am new to the HL7. I am trying to connect to a remote machine using
> SimpleServer, but was not able to connect.
> Connection connection = connectionHub.attach("localhost", 1011, new
> PipeParser(), MinLowerLayerProtocol.class);
> I am able to connect to localhost like above. But when I use a
> different ipaddress no luck.
>
> Any help is greatly appreciated.
>
> Thanks,
> Venu
>
>
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________ Hl7api-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel