Question on the port PHP uses to connect to remote MySQL
| From: | Louis Feng | Date: | Wed, 29 Jan 2003 03:34:53 +0000 |
| Subject: | Question on the port PHP uses to connect to remote MySQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25217@lists.php.net to get a copy of this message | ||
Here is my problem. I have PHP running on one machine, mysql on another one. Everything works fine till I put a firewall on the PHP machine, which blocks pretty much every port there is except port 80. Now, PHP can't connect to the mysql database anymore. If I disable the firewall on the PHP machine it works again. So I eliminate the reasons down to that PHP must uses some port for mysql return the query. The question is which port does PHP use for the connection? I'm NOT talking about 3306 which is used by Mysql. Anyone could help? Thanks in advance.
Louis