Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » SQL Anywhere for Windows CE » Connecting to a database running on a Windows CE device

Starting a server on your Windows CE device Next Page

Creating proxy ports for Windows CE devices


When you run a database on your Windows CE device, you must configure a proxy port for ActiveSync so that requests are passed down to the database running on the Windows CE device.

To add a proxy port for a Windows CE device (Interactive SQL)
  1. Open Interactive SQL.

  2. From the SQL menu, choose Connect.

    The Connect dialog appears.

  3. Click Tools and then choose Setup Windows CE Proxy Port.

    The Windows CE Proxy Ports dialog appears.

  4. Click New.

    The New Proxy Port dialog appears.

  5. Type SQL Anywhere in the name field.

  6. Type 2638 in the Port field.

    This is the default TCP/IP port for SQL Anywhere.

    Note

    Every time your Windows CE device is cradled, ActiveSync forwards traffic on port 2638 to the device. If you start a database server on your computer while your Windows CE device is cradled, it cannot use the default port 2638. If this is problematic, you can choose another port to dedicate to Windows CE traffic.

  7. When setting up or changing a proxy port, it may be necessary to log off and then log in to your Windows desktop in order for the new proxy port setting to take effect.

You can also configure a proxy port by setting the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\ProxyPorts. Name the DWORD value SQL Anywhere and specify the port dedicated to Windows CE traffic (2638 is a good choice).

Caution    

Modifying the registry is dangerous. Modify the registry at your own risk.