By default, Unwired Server listeners are configured to listen on the first IP address resolved
for your host name.
To configure Unwired Server to listen on all network interfaces, edit each listener's properties file.
-
Stop Unwired Server.
-
On the system where Sybase Unwired Platform is installed, navigate to the
<UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\Repository\Instance\com\sybase\djc\server\SocketListener directory.
-
Use a text editor to open the
<hostname>_iiop1.properties file.
-
Locate the line beginning with host=:
#Instance Properties
#Mon Feb 22 10:34:27 PST 2010
maxThreads=200
port=2000
host=<your_host_name>
ant.project=default-socket-listeners
useSocketChannel=false
protocol=iiop
-
Replace your host name with 0.0.0.0:
#Instance Properties
#Mon Feb 22 10:34:27 PST 2010
maxThreads=200
port=2000
host=0.0.0.0
ant.project=default-socket-listeners
useSocketChannel=false
protocol=iiop
-
Save and close the properties file.
-
Restart Unwired Server.