ideally both ways obviously. i mean the webui does work from local lan (192.168.178.37:8112), just the daemon port times out (192.168.178.37:58846). how can i test the answer to your question easily?
these are the ports that docker ps is showing:
0.0.0.0:8112->8112/tcp, 0.0.0.0:8118->8118/tcp, 0.0.0.0:58846->58846/tcp, 0.0.0.0:58946->58946/tcp, 58946/udp