python - Database remote access doesn't work with school internet -


i'm using database freesqldatabase.com python (mysqldb)

db= mysqldb.connect(host='sql2.freesqldatabase.com',user='xyz',passwd='xyz',db='xyz') 

the code work home internet ( tried 3 different ones). however, doesn't work school network.

can't connect mysql server on 'sql2.freesqldatabase.com' (10061) 

any suggestion? thanks

depending on error output, means port filtered @ level, possibly @ school if using proxy or firewall. use commandline tools test port access, telnet on windows or nmap on linux. contacting administrator idea.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -