How can I connect to MySQL from behind a firewall?

北慕城南 提交于 2019-12-11 23:39:34

问题


For school I need to make a C# application which uses a MySQL database as backend. The only thing which is stopping me from doing that is the big firewall of our school blocking everything except HTTP traffic on Port 80.

Hosting the MySQL database on port 80 is not an option, because that's still no HTTP traffic.

Does anyone know a way in which I can still connect to the server?


回答1:


You could just install a MySQL server locally and use the loopback address, in that way you don't need to access an external server. I like using wamp, it's an Apache, PHP, MySQL server all in one.




回答2:


Create a web service which will be accessed via port 80 and use that web service to access database.



来源:https://stackoverflow.com/questions/6124094/how-can-i-connect-to-mysql-from-behind-a-firewall

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!