title: Check access restrictions in Zabbix agent configuration
body: <p>I installed Zabbix 3.0.0rc1 from sources on AWS correctly and everything runs okay, but I wanted to run some manual commands to test connectivity with new zabbix agent in network. I used <code>zabbix_get</code> and it worked fine, but I saw something strange. Agent is installed on both machines zabbix.myservers and agent.myservers</p>
  
  <p>I tried to run zabbix_get with DNS name, private and public IP address.</p>
  
  <p>Attempt to get agent version from localhost using DNS name</p>
  
  <pre><code>root@ip-10-0-0-30:/home/ubuntu# zabbix_get -s zabbix.myservers -k agent.version
  zabbix_get [30903]: Check access restrictions in Zabbix agent configuration
  </code></pre>
  
  <p>Attempt to get agent version from localhost using private IP address</p>
  
  <pre><code>root@ip-10-0-0-30:/home/ubuntu# zabbix_get -s 10.0.0.30 -k agent.version
  zabbix_get [30907]: Check access restrictions in Zabbix agent configuration
  </code></pre>
  
  <p>Attempt to get agent version from localhost using localhost</p>
  
  <pre><code>root@ip-10-0-0-30:/home/ubuntu# zabbix_get -s localhost -k agent.version
  3.0.0rc1
  </code></pre>
  
  <p>Attempt to get agent version from server using DNS name</p>
  
  <pre><code>root@ip-10-0-0-30:/home/ubuntu# zabbix_get -s agent.myservers -k agent.version
  3.0.0rc1
  </code></pre>
  
  <p>Attempt to get agent version from server using private IP address</p>
  
  <pre><code>root@ip-10-0-0-30:/home/ubuntu# zabbix_get -s 10.0.0.31 -k agent.version
  3.0.0rc1
  </code></pre>
  
  <p>Attempt to get agent version from server using public IP address (x.x.x.x is real public IP address)</p>
  
  <pre><code>root@ip-10-0-0-30:/home/ubuntu# zabbix_get -s x.x.x.x -k agent.version
  zabbix_get [30913]: Check access restrictions in Zabbix agent configuration
  </code></pre>
  
  <p>My agentd.conf file is </p>
  
  <pre><code>Server=127.0.0.1
  ServerActive=127.0.0.1
  Hostname=Zabbix server
  </code></pre>
  
  <p>and I want to know how to edit configuration file for successfully run zabbix_get. Where is the problem?</p>