|
ok .. well then why don't you give us a good example of your network.
as i see it, .. you have a server, and a windows client both behind a firewall?
even if this is so, then my first bit of code would allow any requests comming into the server to be accepted , so long as you hav the correct user and pass.
what you must consider is that if you are going in from outside your network, you will need to setup port forwarding on your router.
mysql runs on port 3306 i think .. so you will need to forward incoming requests from port 3306, to your internal ip of the server .. i think it is 192.168.0.2
now my second bit of code will work from anywhere, .. but yes, if you are outside your network, you will need to use your external ip.
__________________
Mike
|