to be
a problem slover

mysql telnet 3306 connection refused解决办法

问题描述

mysql看起来在公网提供服务

$ netstat -tulpn | grep mysqld
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      4381/mysqld

telnet 127.0.0.1 3306可以通

但是telnet 公网ip 3306 报connection refused

解决办法

修改bind-address

vi /etc/mysql/mysql.conf.d/mysqld.cnf

bind-address改为0.0.0.0

重启mysql

systemctl restart mysql
赞(6) 打赏
欢迎转载,注明出处:刘世明的博客 » mysql telnet 3306 connection refused解决办法

评论 8

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #1

    Hi,

    I was looking at your website and noticed something interesting.

    Most businesses are losing potential customers because they are not actively managing their online reviews.

    Reviews can significantly increase trust and conversions when handled properly.

    I recently found a tool that automatically collects, manages, and improves online reviews for businesses.

    You can see how it works here:

    https://jvz3.com/c/688203/434579/

    It’s surprisingly simple and can make a big difference in attracting new customers.

    Oj James3周前 (03-14)回复
  2. #2

    Hi,

    I just visited liushiming.cn and wondered if you’d ever thought about having an engaging video to explain what you do?

    Our videos cost just $195 (USD) for a 30 second video ($239 for 60 seconds) and include a full script, voice-over and video.

    I can show you some previous videos we’ve done if you want me to send some over. Let me know if you’re interested in seeing samples of our previous work.

    Regards,
    Joanna

    Unsubscribe: https://unsubscribe.video/unsubscribe.php?d=liushiming.cn

    Joanna Riggs3周前 (03-15)回复
  3. #3

    I noticed liushiming.cn has a lot of potential, but competitors are taking your organic traffic due to their stronger backlink profiles.

    Elevate your SEO rankings with our premium, high-authority link-building packages—test it out, you won’t regret the return on investment.

    Don’t lose any more clients to competitors and start owning your search results: https://rb.gy/brgbb3

    To unsubscribe, please reply with subject: Unsubscribe !liushiming.cn

    Rodger Bosley3周前 (03-18)回复
  4. #4

    Hello,

    I found your website while browsing in your niche.

    Many website owners are using this SEO tool to find keywords and analyze competitors.

    You can try it here:

    https://bit.ly/4bpajr8

    It may help improve your search traffic.

    Best regards

    Oj James2周前 (03-21)回复
  5. #5

    Hello,

    I found your website while browsing in your niche.

    Many website owners are using this SEO tool to find keywords and analyze competitors.

    You can try it here:

    https://bit.ly/4bpajr8

    It may help improve your search traffic.

    Best regards

    Oj James2周前 (03-23)回复
  6. #6

    Turn any idea into content, videos, and full marketing campaigns in seconds.

    No skills? No team? No problem — this one platform does it all.

    Save time, multiply your results, and crush the competition.

    Marketers and creators are already profiting… don’t get left behind.

    Start today and watch your online growth explode!

    For more : https://jvz4.com/c/688203/431725/

    Oj James2周前 (03-24)回复
  7. #7

    Hello https://liushiming.cn/article/mysql-telnet-3306-connection-refused-solution.html,

    Your website has some SEO errors related to
    page speed, meta optimization, and indexing.

    Would you like the error details + solution plan?
    Reply Yes or share your WhatsApp number.

    Thank You,
    Lisa

    Lisa5天前回复
  8. #8

    Social media taking too much time for you?

    We offer full Social Media Management, content creation, and engagement services to keep your brand visible across all platforms.

    How it works here: https://rb.gy/8ddzt2

    To unsubscribe, please reply with subject: Unsubscribe !liushiming.cn

    Ken Soubeiran2天前回复

觉得文章有用就打赏一下作者

支付宝扫一扫打赏

微信扫一扫打赏