Golang run on Windows without deal with the Firewall
Change http.ListenAndServe(“:3000”, r) to http.ListenAndServe(“127.0.0.1:3000”, r)
Change http.ListenAndServe(“:3000”, r) to http.ListenAndServe(“127.0.0.1:3000”, r)
Got this error on Windows because my mysqld.exe wasn’t running. Ran “C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld” –install from the command line to add it to my services, ran services.msc (start -> run), found the MySQL service and started it. Didn’t have to worry about it from there on out.
The problem is caused by the stateful FTP filter of the firewall. As a workaround you can disable it by executing netsh advfirewall set global StatefulFTP disable with administrator rights.
In case you might encounter the same issue…It turns out my machine behind firewall, that won’t able to access git://github.com/jquery/jquery.git Link: Unable to Connect to GitHub.com For Cloning The solution without changing the firewall: git config –global url.”https://”.insteadOf git:// Credit to @bnguyen82 from Unable to Connect to GitHub.com For Cloning and @Sindre Sorhus from Bower … Read more