Re: mysql_connect does not connect
| From: | Jason Davidson | Date: | Tue, 14 Sep 2004 20:13:36 +0000 |
| Subject: | Re: mysql_connect does not connect | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196657@lists.php.net to get a copy of this message | ||
Hey, i understand that, :) however, a firewall may restrict _any_
access to a port, and if you are connected thru TCP/IP, then that port
may be restricted even if 'local'. It is still a client server
relationship regardless where client and server reside.
Of coarse, this may not be the issue he is having, but it is an issue i
have dealt with before, as retarded as you all seem to think it is.
Jason
John Nichel <john@kegworks.com> wrote:
>
> Jason Davidson wrote:
> > The webpage of coarse, is not local, regardless of where its hosted, so
> > a firewall will come into play when trying to connect.
> > You dont have disable it, i should have been specifc i suppose, you must
> > allow for the mysql port to be open. :)
> > Whats for others to confirm, try it yourself and see if it works.
> >
> > Jason
>
> You understanding of how this works is a bit off Jason. If you make a
> call to one of my web sites from your machine via a browser, the _only_
> port I need to have open to the outside is 80 (or whatever port I have
> my web server running on), even if I make 1000 calls to a local db, but
> this has nothing to do with how the web server talks to MySQL. What is
> meant by local here, is that the MySQL db and web server are on the same
> machine. A firewall comes into play when your web browser requests a
> page from my web server, but does not come into play when that page has
> to connect to a local db before sending content to you. Your remote
> machine never talks to my local MySQL db.
>
> --
> John C. Nichel
> ÜberGeek
> KegWorks.com
> 716.856.9675
> john@kegworks.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>