import{_ as e,c as t,o as a,a as s}from"./app.4f7c959e.js";const b='{"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","description":"","frontmatter":{},"headers":[{"level":2,"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","slug":"why-the-ip-displayed-in-the-admin-panel-and-the-actual-ip-of-the-agent-are-not-the-same"},{"level":2,"title":"Forgot your access password or deleted your access password","slug":"forgot-your-access-password-or-deleted-your-access-password"},{"level":2,"title":"Dashboard install/restart/update failed: iptables ......","slug":"dashboard-install-restart-update-failed-iptables"},{"level":2,"title":"Dashboard reboot failed: Invalid hostPort: nzsiteport etc.","slug":"dashboard-reboot-failed-invalid-hostport-nz-site-port-etc"}],"relativePath":"en_US/guide/dashboardq.md","lastUpdated":1656077214000}',o={},r=s(`
First of all, explain how the IP displayed in the admin panel is gotten: the Agent will request the IP-API every once in a while, get the IP information and report it to the Dashboard, the IP-API currently used can be viewed here: myip.go
If you find that the IP displayed in the admin panel is not the same as the IP provided to you by the service provider, the biggest possibility is that the service provider gave you the entry IP, but the Agent tested out your exit IP. This problem may also occur in BGP servers and Leased line.
TIP
To take a simple and very common example, the service provider to provide you a anti-DDoS server, in order to meet the goals of both DDoS protection and low network disruption rate, the IP provided to you may be the mapped anti-DDoS IP and not the real exit IP of your server
You can also test the exit IP by running the following command in the Agent server:
curl api.myip.la
curl ip.sb
curl ip-api.com
Please view or edit the /opt/nezha/dashboard/data/config.yaml
file.
The password is located in the site-viewpassword item.
First, try restarting docker and retrying again
systemctl status docker
systemctl restart docker
systemctl status docker
Restart and try to reinstall the Dashboard.
If you still get iptables... etc. errors, then consider simply closing iptables or even removing it.
This issue may also be kernel related, try replacing the official kernel as well.
Usually this does not occur, if it does, you can modify the configuration through the installation script.
`,13),i=[r];function n(d,l,h,p,c,u){return a(),t("div",null,i)}var f=e(o,[["render",n]]);export{b as __pageData,f as default};