i have installed docker desktop in windows system and installed zabbix docker appliance for testing. with the zabbix appliance i am able to login into the front end of zabbix with 127.0.0.1/zabbix. But when i'm using the same credentials with python API i am unable to login.
i'm using below code to connect other zabbix instances whihc is working fine, when i'm connecting the docker appliance its not working.
from pyzabbix import ZabbixAPI
zapi = ZabbixAPI("http://127.0.0.1/zabbix/")
zapi.login("Admin", "zabbix")
print("Connected to Zabbix API Version %s" % zapi.api_version())
Should be a path error, use zapi = ZabbixAPI("http://127.0.0.1/")