Nexcess Logo

Nexcess: MySQL & IP Whitelisting for Remote Access

Knowledge Base Home

Notice anything different?

We've enhanced the appearance of our portal and we're working on updating screenshots. Things might look different, but the functionality remains the same.
April 14, 2022

Are you looking to allow remote connections to your MySQL server? See how you can accomplish that task when on a Magento Plan/Flex Cloud Plan from Nexcess.

How to Whitelist IPs in the Nexcess Cloud for Remote MySQL Access

How Do You Whitelist an IP Address in the Nexcess Cloud for Remote MySQL Connections?

Step #1: Log in to your Nexcess Client Portal and then navigate to the Control Panel page. 

Step #2: Launch the SiteWorx Control Panel and then submit the IP address to whitelist.

Remote MySQL Access

How Do I Find My Computer's IP Address?

To find out what your IP address, you can check it by navigating to

Overview of Remote Connections to MySQL Server

Are you looking to allow remote connections to your MySQL server? See how you can easily accomplish that task when on a Magento Plan or Flexible Cloud Plan from Nexcess.

If you are on a Magento Plan or Flexible Cloud Plan, you can remotely connect to the MySQL server by allowing an IP address via the IP whitelisting process using the Cloud SiteWorx Control Panel.

Connections to remote databases are an essential requirement for many projects. However, on Nexcess servers, remote connections to MySQL are not allowed due to security risks inherent in servers and applications. Due to this policy, all IP addresses are blocked by default.

The purpose of allowing remote MySQL connections is to enable a computer program to access a database on the server. Remote connections are possible with MySQL Workbench or Adobe Dreamweaver or Navicat clients for the MySQL database platform.

Trying to connect to a remote MySQL database can be frustrating if your MySQL instance is only configured to listen for local connections. Although, this is MySQL’s default setting, to allow a remote connection, you must whitelist the IP address for which you want to define connections. If you are using MySQL over SSH, you do not need to whitelist IP addresses.

Please note that this MySQL whitelist IP method only applies to Nexcess clients using Magento Plan Plans and Flex Cloud Plans. If you use Managed WordPress or Managed WooCommerce please get in touch with our 24/7 support team by email or through the Client Portal assistance.

What You Need

Here is a short list of needed items:

  1. Your Client Portal login credentials, click the  Forgot Password? link on the login page if you cannot locate them.

  2. An existing Nexcess Cloud account using Flexible plan or Magento Plan. See the How to create Nexcess Cloud accounts article for more information.

  3. By default, all IPs are blocked and must be whitelisted. To find out what your IP address is, you can check it by navigating to

Step #1: Log in to Your Nexcess Client Portal

To start the IP whitelisting process, log in to you Nexcess Client Portal. 

About the Nexcess Client Portal

Starting with a new hosting partner can be overwhelming. For that exact reason, we have prepared a Nexcess Portal Guide to make each client’s introduction to our Nexcess Portal easier.

How to Become a Nexcess Portal Pro 

You signed up for an account with Nexcess but now what do you do? New systems can be intimidating to learn, so we’ve put together this guide to help explain what is in the portal and where to find it.

Step #2: Navigate to the Control Panel Page

The first thing to do is to navigate to Control Panel page as demonstrated in the video snippet below:

Navigate to the Control Panel Page 

Then, click on the Plans option from the menu on the left side of the screen:

Plans option

Either click the name of your Magento Plan / Flexible Cloud Plan service, or select Plan Dashboard from the menu toggle:

Plan Dashboard

From the dashboard, select Menu > Control Panel:

Menu > Control Panel

Step #3: Launch the SiteWorx Control Panel

Click the Launch Control Panel button:

Launch Control Panel button

Your browser will redirect you to the Cloud SiteWorx Control Panel home page:

Cloud SiteWorx Control Panel

Step #4: Submit IP Address to the Whitelist

Here is a short list of steps needed to submit your IP address to the whitelist.

  1. From the SiteWorx main menu, click Hosting Features > Firewall Rules.

  2. In the MySQL Whitelist IP Address field, add the IP address to the whitelist or click on the Whitelist My Current IP button to exercise that option. This option fetches your IP address automatically, and if the IP address is correct, click Submit:

    MySQL Whitelist IP Address field

  3. If you have multiple IP addresses, repeat the process.

  4. Please be sure to whitelist your IP address for incoming and outgoing traffic.

  5. How do I find my computer's IP address? To find out what your IP address, you can check it by navigating  to

  6. To delete a MySQL whitelist IP address, you can click on the Delete button or the corresponding entry to remove any IP whitelisting entry:

MySQL Screen Delete Button

Congratulations! You have successfully whitelisted your IP address for MySQL remote connections.

Step #5: With MySQL Remote Access Enabled, What are My Next Steps?

Remotely accessing MySQL requires a third-party MySQL client application. Some of these applications are free, while others require purchasing. Instructions on using the third-party MySQL client application should be provided by the company's website where you downloaded it. 

Here are a few of the industry-leading MySQL client applications:

MySQL with Remote Connections: Keep It Secure

Despite being able to open MySQL to remote connections and to prevent possible security breaches, you should grant privileges to selected users only. Additionally, ensure the users are using very strong passwords. Keeping the MySQL server software up-to-date should help too.

MySQL with Remote Connections: Connection Tips

Common connection tips are:

  1. Keep in mind that SSL is required if you're trying to connect to a cluster environment, like AWS.

  2. If the connection keeps failing, have the Nexcess Support Team check whether your IP address has been allowed and ensure your credentials are correct.

  3. Alternatively, you can use a SSH Gateway to securely and efficiently run MySQL commands on your website if you still experience connection issues.

MySQL with Remote Connections: Frequently Asked Questions

Some common questions that frequently come up include the following. 

Comon Question #1 

Question #1: Remote access to the MySQL database server is disabled by default. Why is this?

Answer: The remote access to the MySQL database server is disabled due to security reasons.

Comon Question #2 

Question #2: Can I test my MySQL database remotely and verify database access?

Answer: Yes, you can test the remote MySQL connection using MySQL client applications like MySQL Workbench. Otherwise, you can run the following command from a remote machine with a MySQL client:

$ MySQL -u <local database username> -h <database server IP address> -p

Comon Question #3 

Question #3: If my IP constantly changes, what should I do?

Answer: If you have a dynamic IP address, the connecting IP address will keep changing periodically, depending on the Internet Service Provider (ISP). To use the Remote MySQL Functionalityyou must update the IP address each time it changes. 

There are a few solutions you can try if you are having trouble getting through the firewall with a dynamic IP address:

  • You can contact Nexcess Support to get your IP address range added to the MySQL Whitelist IP table.

  • Otherwise, Get static IP addressing instead for your client computers, and then add the IP addresses as firewall rules.

Comon Question #4 

Question #4: When connecting to MySQL, I get a Connection Refused error?   

Answer: Our servers block Port 3306 with regard to inbound traffic. Contact us via live chat or a phone call to request that Port 3306 be opened for your IP address to connect remotely.

That's it! We hope this article was helpful. If you need any help, please search for the answer to your question in the within the Nexcess Knowledge Base.

Useful Resources for MySQL Database Management 

Consider Hosting with Nexcess

Hosting optimized for the industry's leading platforms, including Managed WordPress Hosting, Managed WooCommerce Hosting, and Managed Magento Hosting:

Build Better Sites and Stores With Fully Managed Hosting from Nexcess 

Faster Speeds, Stronger Security, Inherent Scalability and Trusted Support.

Our range of hosting plans caters to any business scale. We do all the heavy lifting for you to focus on growing your business. In addition, we automatically update ore components and plugins to the latest version and ensure your hosting environment is properly optimized, secured, and updated.

Nexcess infrastructure was specially designed to keep up the best speed and performance in the industry. No traffic surge can threaten your website to go down thanks to our autoscaling technology which adds more resources to your server to handle the load. In addition, we offer always-on security monitoring and support from web hosting experts 24/7/365 and a built-in CDN with 22 locations and advanced caching for ultra-fast loading.

All hosting plans include The Nexcess 30-Day Web Hosting Money Back Guarantee.

Why Choose Nexcess?

Because we're different! Chris Lema captures "the why" in his passionate and stirring recount of a Nexcess support-related story.

Useful YouTube > Nexcess Channel Links

Resources for More Information

Need more help? The ApplicationsMagento 2 and Magento 1 sections within the Nexcess Knowledge Base are important resources for those seeking additional knowledge. 

The Applications section also contains valuable insights for those seeking additional knowledge about our other various hosted applications and platforms. Check out our related video playlists and articles below:

Need a No-Code Website Building Solution? 

Are you on an accelerated schedule and already ready to move forward? If you need to get started with your Nexcess StoreBuilder Solution sooner rather than later, check out these resources:

Next Steps with a Nexcess Cloud Hosting Solution?

Read more about the Fully Managed Cloud Environment by Nexcess and its benefits for your business.

A Cloud Hosting Solution That Lets You Do Business Your Way 

We believe in the promise of cloud: scalability, security, performance, and ease of use. Together with our team, clients, and partners, we’ve built something better.

Choose From Multiple Applications 

Whether you’re a small business or a high-traffic eCommerce store, our cloud hosting solutions are designed around your needs: auto scaling, PCI compliance, and comprehensive development tools provide you with maximum dynamic flexibility in a fully managed cloud environment.

We make applications easy with environment optimizations for:

And there are many more!

We also have a variety of Nexcess support articles about how best to implement our product offerings housed in the Nexcess Knowledge Baseincluding how to get your site going with a number of different configuration options. These resources include a great article on setting this up for Migrating to Nexcess with managed WordPress and managed WooCommerce hosting

24-Hour Assistance

If you need any assistance with the above-mentioned, don't hesitate to reach out. For 24-hour assistance any day of the year, Nexcess customers can contact our support team by email or through your Client Portal.

New Customers: Fully Managed Hosting Solutions

Not a Nexcess customer yet? Check out our fully managed hosting solutions. The option to chat with an expert is also available.

Related Articles

Edith Fernandez
Edith Fernandez

Edith Fernandez works with the Managed Applications Chat Support team. As a Managed Applications Chat Support Supervisor for over 50 technicians, Fernandez leads, coaches, trains, and encourages her team. “I love taking ownership, diving deep to find areas of improvement within the department, and contributing ideas that can benefit both the team and the company,” she says.

Fernandez loves the fast pace of the tech field and the rapidity with which change occurs. Of her work accomplishments, Fernandez is most proud of her work collaborating with the Nexcess leadership team. Fernandez is happy to inspire other women, especially Indian women and girls. Caring deeply about her customers has made all the difference in Fernandez’s career.

Her advice to women interested in pursuing a career in tech is to create a vision of what they want to become. “IT is a vast field. There are so many areas and opportunities where women can excel,” she says. “There is nothing that cannot be achieved. So dream about it, work towards it, don’t be afraid to ask for help, and go after what you want.”

We use cookies to understand how you interact with our site, to personalize and streamline your experience, and to tailor advertising. By continuing to use our site, you accept our use of cookies and accept our Privacy Policy.