Tag Archives: godaddy

How to Locate which Ports You can Send out on via SMTP when using a GoDaddy E-mail Account Software & Sites 30 APR 2012

A port is just a port, and just because there is a standard one that is used by something, it doesn’t mean you always have to use the default port for doing that something. Enter sending out an e-mail message via SMTP when using a GoDaddy e-mail account.

Although GoDaddy restricts incoming e-mail to ports 110 and 995 (SSL), outgoing SMTP ports (usually via its smtpout.secureserver.net server) are a little more open. This tutorial will teach you how to find out which ports are available for you to use in your e-mail sending application.

First, login to GoDaddy’s site (http://www.godaddy.com) and click on the “Email” button on the main green menu bar. If you have any active e-mail accounts, they will be listed, and to the right of each entry you will find a green launch button. Clicking on this will open the Control Center.

Once in the Control Center, you’ll see your e-mail addresses listed under the Email Plans folder. The addresses are laid out in a table, with the columns, Address, Size, Relays, Attributes, and Actions.

In the Actions column you will see a Tools icon. Click on it to launch the Info Center.

The Email Info Center is a one-page view of your e-mail address account settings. Under the fieldset entitled “Email Server Settings”, you will spot a label “Outgoing server (SMTP):”, giving you the server details to use, as well as a list of available and open ports. Score!

So if you want to move away from the standard port 25 and perhaps now send out on port 80 via your PHPMailer-using PHP script, your code would look like this:

$mail = new PHPMailer();
$mail->IsSMTP(); // set mailer to use SMTP
$mail->Host = "smtpout.secureserver.net"; // specify main and backup server
$mail->Port = 80; // new port
$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = "username@mydomain.com"; // SMTP username
$mail->Password = "mypassword"; // SMTP password


GoDaddy and the Lost connection to MySQL server at ‘reading initial communication packet’ Message Tips, Tricks and Tutorials 12 MAR 2012

I was trying to set up a new WordPress website where the files would be hosted on a subdomain of a GoDaddy hosting account whilst the MySQL database resides on another one of my server accounts, provided by Amplehosting.

I set up the Remote Database Access Hosts as prompted by the help via my Amplehosting account cPanel interface, uploaded a clean WordPress install to the GoDaddy account, stretched my fingers, and then set about running the simple WordPress setup…

…except that the simple WordPress setup was just not passing step 1, complaining at each and every attempt of a database error. With no other data to go on, I quickly whipped up a MySQL debug script and uploaded the custom PHP file to check on MySQL connections to the remote host via the GoDaddy account, and lo and behold, PHP spit out the follow error message to me:

“Lost connection to MySQL server at ‘reading initial communication packet’, system error: 110”

A quick Google search on the above phrase joined with the keyword “GoDaddy” almost immediately threw up a page from the GoDaddy support forums which further sunk my heart:

“I apologize if this was not clarified upon your purchase, however we do not permit connections to third party DB servers from within our hosting environment. I apologize for any inconvenience this may cause. If the hosting plan no longer fits your needs, you can cancel it and be eligible for a refund of any unused time.”

So that’s it then. GoDaddy doesn’t not allow connections to external databases from within their hosting accounts, meaning I need to go and find another provider.

But now at least I’m not the only one fighting to figure out how come my setup just wasn’t working! :)