Configuring Listener Behavior

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.
  1. Stop Unwired Server.
  2. 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.
  3. Use a text editor to open the <hostname>_iiop1.properties file.
  4. 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
  5. 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
  6. Save and close the properties file.
  7. Restart Unwired Server.