Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 171654

Can't login through API after changing IP

$
0
0
After changing Proxmox IP then login using API was failed, but using Web UI fine (Hostname still same, only IP changed).
Any idea?

Code:

  $pve2 = new PVE2_API($svr_ip, $svr_username, 'pam', $svr_password);
 
  if ($pve2->constructor_success()) {
    if ($pve2->login()) {
      ...........
    else {
      $result  = "Login to Proxmox Host failed. IP: $svr_ip. Username: $svr_username."; 
    }


Viewing all articles
Browse latest Browse all 171654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>