Apologies if this is already a solved issue, as there are a lot of similar threads, but I can't seem to find one that describes exactly the situation I'm in.
I'm running TrueNAS Core 13.0-U5.1
I've got a jail set up for use as library database for my various Kodi machines:
The MySQL config is very straightforward:
If I understand correctly, I should be able to just configure this setting:
and I should be able to reach the database inside the jail (listening on 3306) from machines on my local network via 8306.
This doesn't seem to be working. I can connect to from inside the jail:
...but I can't reach it from outside:
I recall having done something similar before, but I recently had to reconfigure things after a drive failure, (yeah, yeah, back up my configs...) so I suspect I'm just missing something obvious. Anyone know what it might be?
I'm running TrueNAS Core 13.0-U5.1
I've got a jail set up for use as library database for my various Kodi machines:
The MySQL config is very straightforward:
Code:
[mysqld] user = xxxxx port = 3306 socket = /tmp/mysql.sock bind-address = 0.0.0.0
If I understand correctly, I should be able to just configure this setting:
and I should be able to reach the database inside the jail (listening on 3306) from machines on my local network via 8306.
This doesn't seem to be working. I can connect to from inside the jail:
Code:
root@kodidb:~ # telnet localhost 3306 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
...but I can't reach it from outside:
Code:
root@nas[/]# telnet localhost 8306 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host
I recall having done something similar before, but I recently had to reconfigure things after a drive failure, (yeah, yeah, back up my configs...) so I suspect I'm just missing something obvious. Anyone know what it might be?