Ad Widget

Collapse

Access API Externally

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheCookieMonster
    Member
    • Jul 2017
    • 48

    #1

    Access API Externally

    I can access the frontend website inside my network on
    Code:
    http://{InternalIP}/zabbix/zabbix.php?action=dashboard.view
    And I can access the API inside my network on
    Code:
    http://{InternalIP}/zabbix/api_jsonrpc.php
    But when I try to access the API externally on
    Code:
    http://{ExternalIP}/zabbix/api_jsonrpc.php
    It cannot connect.

    The frontend is not accessible externally either.
    Im not worried about enabling access to the frontend, but how can I enable access to the API externally?
  • kaspars.mednis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2017
    • 349

    #2
    Hi,

    you wrote

    It cannot connect.
    The frontend is not accessible externally either.
    This is not an Zabbix issue, this is your firewall / NAT issue

    You must open HTTP or HTTPS ports on your firewall and add some NAT rules. API is working through the frontend, if the frontend is inaccessible, the API will not work

    Regards,
    Kaspars

    Comment

    Working...