dongyu4455 2015-10-08 18:56
浏览 175
已采纳

连接到Azure MySQL数据库

I'm trying out Azure for the first time. I followed this guide to create a web application with a MySQL database.

So the DB node was create and I can see it in my resources and I can view the credentials in the properties. However, I can't connect to it from my desktop.

It looks like a firewall issue as I'm unable to telnet to it:

telnet us-cdbr-azure-west-c.cloudapp.net 3306
Trying 104.209.43.4...
telnet: connect to address 104.209.43.4: Operation timed out
telnet: Unable to connect to remote host    

Can anyone tell me what I'm doing wrong?

Thanks in advance.

  • 写回答

1条回答 默认 最新

  • douren7921 2015-10-14 05:14
    关注

    Usually, this issue is raised due to IP or Port is blocked by firewall.

    As the comments show that others can connect to your MySQL server, so I think we can exclude that server side firewall blocked your IP and Port.

    If you are in a protect network environment, check whether the gateway of network has a white list and your MySQL server endpoint is in the list, or whether the gateway has block the 3306 port. You can change a network environment if possible to check this.

    Another attempt is that you can change a PC to have a test to connect to your MySQL server. If it could work, you can compare with the successful PC firewall configuration.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化
  • ¥15 Mirare PLUS 进行密钥认证?(详解)
  • ¥15 物体双站RCS和其组成阵列后的双站RCS关系验证
  • ¥20 想用ollama做一个自己的AI数据库
  • ¥15 关于qualoth编辑及缝合服装领子的问题解决方案探寻
  • ¥15 请问怎么才能复现这样的图呀