hernanrengifo / jca-sockets

Automatically exported from code.google.com/p/jca-sockets
0 stars 0 forks source link

Resource Adapter Binds to all local addresses #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Deploy the resource adapter on a host with multiple IP addresses 9either 
physical or virtual)
2. run netstat -a

Socket Server is listening on multiple addresses

To fix this we need to add the IP Address as an an activation property (default 
null). 
Currently in the bind() to ServerSocket we are using:
   InetSocketAddress(int port)
but we need to use:
   InetSocketAddress(InetAddress addr, int port)

Original issue reported on code.google.com by mark.r.j...@gmail.com on 25 Jun 2010 at 8:49

GoogleCodeExporter commented 8 years ago
Implemented this (default is localhost)

Original comment by mark.r.j...@gmail.com on 13 Jul 2010 at 11:25