title: Calling CPanel API from a different server
body: <p>I have 6 VPS' with CPanel / WHM on. I currently have an admin section on each one that I use to create accounts and start some Crons. I would like to manage all this from one server but I can't connect using my script unless I use it on the server I am calling it for.</p>
  
  <p>The error I get is: <code>curl_exec threw error "couldn't connect to host"</code> which I presume means the connection is actually being blocked. I have added a firewall rule for my admin server's IP but that doesn't help.</p>
  
  <p>What do I need to allow in order to use the API cross server?</p>
  
  <p>p.s I am using User / Pass authentication with PHP.</p>
  
  <p>EDIT: Ok I can connect when changing the port to 2087 but get access denied messages.</p>
  
  <p>Thanks.</p>