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解决办法

评论 17

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  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 James1个月前 (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 Riggs1个月前 (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 Bosley1个月前 (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 James1个月前 (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 James1个月前 (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 James1个月前 (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

    Lisa4周前 (04-02)回复
  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 Soubeiran3周前 (04-04)回复
  9. #9

    Hi, I came across your website while browsing Google and noticed your logo could be refined to better match the quality of your brand.

    I’m a Fiverr Pro–vetted logo designer, and I took the initiative to create a logo concept specifically for your business. You’re welcome to review it, and only move forward if you truly feel it adds value there’s no obligation at all.

    You can view the concept here: https://tinyurl.com/Logo-Camila

    Best,
    Camila

    Camila M2周前 (04-11)回复
  10. #10

    Hi,

    I was just looking at liushiming.cn and wanted to ask: are you looking to scale your Instagram presence right now?

    We help brands like yours add 300+ targeted Instagram followers every month using manual outreach and ads. We can grow your existing page or even build a brand-new profile from scratch for you if you’d prefer a fresh start.

    Would you like me to send over some more info on how it works?

    Thanks for your time,
    Gemma

    Gemma Marshall2周前 (04-12)回复
  11. #11

    Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me. https://accounts.binance.info/register-person?ref=QCGZMHR6

  12. #12

    Dear liushiming.cn owner,

    Update your company’s information in Eu Business Register for 2026/2027.

    Updating is free. Find the form at: ebr-form.pro

    Alicia Gair2周前 (04-16)回复
  13. #13

    Thanks for sharing. I read many of your blog posts, cool, your blog is very good.

  14. #14

    Hi,

    I just visited liushiming.cn and wondered if you’ve ever considered an impactful video to advertise your business? Our videos can generate impressive results on both your website and across social media.

    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 Riggs6天前回复
  15. #15

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

    A strong online presence starts with a well-designed, user-friendly website. We create visually appealing and high-performing websites that help brands stand out and turn visitors into customers.

    I’d be happy to suggest a few practical improvements that could increase engagement and drive better results for your business.

    Looking forward to your reply.

    Thank you.
    Sara

    Sara5天前回复
  16. #16

    Hi, I came across your website while browsing Google and noticed your logo could be refined to better match the quality of your brand.

    I created a custom logo concept for your brand. You can review it and decide if it’s something you’d like to explore further no pressure.

    You can view the concept here: https://tinyurl.com/Logo-Design-Tiago

    Best,
    Tiago

    Tiago narciso3天前回复
  17. #17

    Hey,

    I used to feel tired and low on energy after eating, and I thought it was normal.

    But then I found out it could be related to blood sugar balance.

    I came across a simple explanation and something that helped me feel more stable during the day.

    So I shared it here if you want to check it out:
    https://sites.google.com/view/bloodsugarwellnessguide/gluco-shield-pro-review

    Best Regards.

    Halina Speed17小时前回复

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

支付宝扫一扫打赏

微信扫一扫打赏