MyDAC and firewalls

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
teunis
Posts: 48
Joined: Wed 01 Feb 2006 14:15
Location: Curacao

MyDAC and firewalls

Post by teunis » Wed 04 Oct 2006 12:51

A program made with D6 and MyDAC runs fine.
The Server is somewhere on the internet and has 3307 open for clients.
At some places I can make contact with the server and on other places not.

I am not supposed to look at people's firewall especialy if the client is in a LAN
Can you tell me which port is used on the client side?
Should the firewall be configured to make a forwarding to that port on the client.
Thanks for your help
Teunis :shock:

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 05 Oct 2006 11:15

We use Winsock.Connect function to establish connection via network. It allocates port on the local host. You can check local port using any tool to analyze TCP/IP ports.
As a rule firewall allows you to specify application name to allow/refuse connecting to internet.

Post Reply