You must add a proxy port for Windows Mobile Device Center (ActiveSync) to connect to a database server on your Windows Mobile device from a desktop, so that requests to the localhost (127.0.0.1) IP address are passed on to the database running on the Windows Mobile device.
There are no prerequisites for this task.
Context and remarks
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 Mobile traffic (2639 is a good choice). For 64-bit versions of Windows running a 32-bit version of Windows Mobile Device Center (ActiveSync), this registry entry is in the 32-bit hive.
Modifying the registry is dangerous and can result in loss of data. It is recommended that you back up your system before modifying the registry.
Start Interactive SQL on your desktop computer. For the 32-bit version of Windows Mobile Device Center (ActiveSync), you must start the 32-bit version of Interactive SQL.
At the bottom of the Connect window, click Tools, and then click Setup Windows Mobile Proxy Port.
In the Name field, type SQL Anywhere.
In the Port field, type 2639.
This is the recommended TCP/IP port to use for a SQL Anywhere database server running on Windows Mobile. You may use other ports as long as you ensure that the database server on the Windows Mobile device is configured to use the same port.
Every time your Windows Mobile device is cradled, Windows Mobile Device Center (ActiveSync) forwards traffic on port 2639 to the device. If you start a database server on your desktop computer while your Windows Mobile device is cradled, it cannot use port 2639. If this is problematic, you can choose another port to dedicate to Windows Mobile traffic.
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.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|