I'm trying to install metabase on WSL2(Ubuntu),
so download a jar file in Ubuntu and type follwing command.
java -jar metabase.jar
But I don' access a metabase page(connection refused error) from Windows.
What must I set up anything?
Firewall is disabled and I can connect WSL2(Ubuntu) from windows using SSH.
sudo ufw status-> inactive
Hi @Satoshi
Without knowing your IP configuration, then it's difficult to say, but I'm guessing that you haven't configured localhost forwarding:
https://superuser.com/questions/1594420/cant-access-127-0-0-180-outside-of-wsl2-ubuntu-20-04
You'll need to run java -DMB_JETTY_HOST="0.0.0.0" -jar metabase.jar
for it to be available on all interfaces (again, this depends on your WSL2 configuration):
https://www.metabase.com/docs/latest/configuring-metabase/environment-variables#mb_jetty_host