Skip to content

Commit 5de463c

Browse files
authored
Reversed to docker0 interface per review request
1 parent c464ce4 commit 5de463c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/mysql_setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ bind-address=0.0.0.0
7979
```
8080
Restart MySQL/MariaDB to apply these changes. This will override the default MySQL configuration, which by default will only accept requests from localhost. Updating this will allow connections on all interfaces, and thus, external connections. Make sure to allow the MySQL port (default 3306) in your firewall.
8181

82-
If your Database and Wings are on the same machine and won't need external access, you can also use the `pterodactyl0` interface IP address rather than `127.0.0.1`. This IP address is from wings' docker interface and can be found in the `config.yml` of your wings instance, the default is `172.18.0.1`.
82+
If your Database and Wings are on the same machine and won't need external access, you can also use the `docker0` interface IP address rather than `127.0.0.1`. This IP address can be found by running `ip addr | grep docker0`, and it likely looks like `172.x.x.x`.
8383

8484
Starting with MySQL 8.0.13 / MariaDB 10.11 or above, `bind_address` now also accepts a comma-separated list of interfaces to give more control over what interfaces it will listen on and which not.

0 commit comments

Comments
 (0)