Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

WHM Server Not Allowing Remote DB Connection

Discussion in 'Database Discussion' started by RedNinja, May 14, 2014.

  1. RedNinja

    RedNinja Member

    Sep 30, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I'm having trouble figuring out why our web server won't connect to Amazon RDS. I've connected via command line on a simple CentOS server and from several computers via MySQL Workbench. The RDS security groups are set up properly. The command I'm using should otherwise work. Is it possible my server is blocking outgoing connections to port 3306 and where would I change this?

    - - - Updated - - -

    Never mind. I should have known it would be in CSF. For anyone else who is up late at night after working all day and have a tired brain, WHM->ConfigServer Firewall->Firewall Configuration->All Outgoing TCP Ports, add 3306. Good night.
  2. cPanelPeter

    cPanelPeter Technical Analyst III Staff Member

    Sep 23, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Glad you figured it out, and thank you for posting your solution here for everyone.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice