title: cPanel stopped responding to curl requests
body: <p>I'm on a VPS and use a bash script to deploy websites to subdirectories inside on of my accounts. I've been using this script with no issues until today, randomly, cPanel decided to ignore curl.</p>
  
  <p>In this script I automatically create a database and add a user to it, which is accomplished via curling cPanel with the appropriate information.</p>
  
  <p>Here's what I was doing and previously was working flawlessly.</p>
  
  <pre><code>curl -k -v -G -d db=$db_name https://$cpanel_user:$cpanel_password@$cpanel_host:2083/frontend/x3/sql/addb.html
  </code></pre>
  
  <p>I isolated this line to a separate script to debug. Here's the kicker, the server simply doesn't respond. Curl just says <code>Trying X.X.X.X...</code> and then eventually the connection times out. Curl works for everything else so I know that's not it. Just for grins I tried wget and it can't establish a connection either.</p>
  
  <p>I have [had] security tokens disabled in cPanel.</p>
  
  <p>My question is what would cause the connection to fail? I'm stumped as this worked yesterday.</p>
  
  <p>I don't mind investigating and debugging, but with no errors or anything I simply don't know where to look. I talked to my host and they said there hasn't been any firewall/security updates rolled out.</p>
  
  <p>Suggestions on issues or where to look?</p>
  
  <p><strong>Edit:</strong> So if I run that curl command locally in OSX it fires up and creates the DB no problem. So for some reason the URL isn't responding to my own server (itself) o.O</p>
  
  <p><strong>Edit 2</strong>: It seems my server can't curl itself on that port I need (dunno why it would have stopped). For example if I curl my server IP or a domain on my server (from the server) it works. If I try to curl my ip:2083 it won't resolve.</p>
  
  <p>How can I allow curl to work with port 2083?</p>