Skip to Content
author's profile photo Former Member
Former Member

SQL Anywhere 12 Windows Server 2008 Firewall

We keep having problems with configuring the Windows Server 2008 firewall. The firewall if mostly configured by the system administrator of our clients.

On a server we install the database as a service. We ask the system administrator to open port 2638 and mostly we can connect to the database from a workstation. However, sometimes after the server is reset, we can't connect anymore. In this case, we disable the firewall, connect to the database from the workstation, disconnect and enable the firewall again. After we have done this it works fine till they reset the server again.

I suppose the firewall is not correct configured.

Is there somewhere a document available that explains in detail (for Dummys) how to configure the Windows Server firewall.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 25, 2013 at 08:01 PM

    Hi Eric,

    What is the connection string you're using to connect to SQL Anywhere from the client? (Please obfuscate any IP information before posting here).

    From a network point of view, only connecting over the TCP port that SQL Anywhere is listening on is absolutely required for direct client connections to the database server. Assuming that the TCP port is always being kept open as a TCP 'Inbound rule' in the Windows Firewall, there should not be an issue between the clients and server. (See: ).

    (Sidebar: If you wish to connect by using just the 'server name' (without the IP or port information), you also need to enable UDP broadcasting between the client and server. UDP broadcasts are not propagated across firewalls - I'm currently assuming you don't require this.)

    However, sometimes after the server is reset

    'Reset' meaning the entire operating system is rebooted?

    If you add ";LOG=c:\clientlog.txt" to the connection string when you see this connection failure, what is recorded in the log file?


    Jeff Albion

    SAP Active Global Support

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.