The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Calling XML API from another Server

Discussion in 'Security' started by webnoob, Sep 11, 2011.

  1. webnoob

    webnoob Member

    Joined:
    Jun 3, 2011
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi All,

    I have 6 VPS' with CPanel / WHM on. I currently have an admin section on each 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.

    What do I need to allow in order to use the API cross server?

    p.s I am using User / Pass authentication with PHP.

    EDIT: Just noticed this should probably be in he developer section. Sorry.

    Regards,
    webnoob.
     
    #1 webnoob, Sep 11, 2011
    Last edited: Sep 11, 2011
  2. webnoob

    webnoob Member

    Joined:
    Jun 3, 2011
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    OK sorted it.

    I needed to change the port I was connecting on to 2087 (from 2082) and use the WHM root login credentials.
     
Loading...

Share This Page