SQL Anywhere® Server - Database Administration
SQL Anywhere for Windows CE
Connecting to a database running on a Windows CE device
Creating proxy ports for Windows CE devices
When you run a database on your Windows CE device, you must configure a proxy port for Active Sync so that requests are passed down to the database running on the Windows CE device.
Open Interactive SQL.
From the SQL menu, choose Connect.
The Connect dialog appears.
Click Tools and then choose Setup Windows CE Proxy Port.
The Windows CE Proxy Ports dialog appears.
Click New.
The New Proxy Port dialog appears.
Type SQL Anywhere in the name field.
Type 2638 in the Port field.
This is the default TCP/IP port for SQL Anywhere.
NoteEvery 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. |
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 SA and specify the port dedicated to Windows CE traffic (2638 by default).
| Caution
Modifying the registry is dangerous. Modify the registry at your own risk. |