What is the easiest way to check if port 3306 on my localhost is being blocked?
|
|
Since you are on the Windows machine, these things can be done,
If you have an active block (incoming connections are being dropped by firewall) after you start logging, you should see that in the log. If you are running an application/service that is listening on 3306, the firewall config should show it to be Enabled. If this is not seen, you have probably missed adding an exception with the firewall to allow this app/service. Finally, port 3306 is typically used for MySQL. So, I presume you are running MySQL server on this windows machine. You should therefore see a listener for 3306 accepting incoming connections. If you do not see that, you need to work with your application (MySQL) to get that started first. |
|||||||||
|
|
The Audit My PC Firewall test allows you to test a specific port or a range of ports from an external source. |
|||
|
|
|
If you need to test if a port is open from the outside to a specific computer, Port Detective can take care of that for you. 3306 isn't one of its default ports to test, but you can add custom ports for it. Remember to shut down any software that might be using that port before running the test though, as it needs to have the port available for use. If the test fails, you'll need to ensure that any NAT routing is forwarding the port to your computer, and that there is no firewall getting in the way. |
|||
|
|
|
If you can telnet to the port from the local machine (using the external IP address), but not from another machine - then it is being blocked somewhere between. Note that a firewall on your local machine could prevent even the first action. |
|||
|
|
|
If you've got somthing listening on that port, just telnet to it from another machine. If not, set up a netcat listener there. If you're publically facing the internet, with no NAT/Firewall in the way GRC.com has a tool called ShieldsUP that can check for you. |
|||
|
|