Determining the IP address of your Windows Mobile device

When connecting to a database that is running on Windows Mobile, you may need the IP address to establish the connection.

To determine the IP address of your Windows Mobile device

  1. From the Start menu, tap File Explorer.

  2. Navigate to the SQL Anywhere installation directory by tapping Program Files » SQLAny11.

  3. Tap the dbsrv11 icon.

    The Server Startup Options window appears.

    The Server Startup Options window
  4. In the Database field, type the name of the database file that you want to start or click Browse to locate the database.

  5. In the Server Name field, type the server name that you want to use.

  6. Select Use TCP/IP.

    A TCP/IP connection is necessary to connect from a computer to the database running on your Windows Mobile device.

  7. In the Options field, type -z.

    With the -z option, the server writes out its IP address during startup. The address may change if you disconnect your Windows Mobile device from the network and then re-connect it.

    For more information, see -z server option.

  8. Tap OK to start the sample database running on the network database server.

  9. Navigate to the Today screen on your device.

  10. Tap the Server icon located in the bottom right corner of the screen.

    The database server messages window appears. The IP address appears in the database server messages window.

Now you can create an ODBC data source to connect from the computer to your Windows Mobile device.

For more information, see Creating an ODBC data source to connect to your Windows Mobile device.