Metabase on Windows

I am testing Metabase on Windows 2019 server and MS SqlServer.

if I use H2 for internal data and simply start Metabase (java -jar metabase.jar) I regularly access the site on port 3000, both locally and remotely.

if I use Postgres for internal data, I regularly access the site on port 3000 locally.
but remotely the connection is refused.

with Postgres, I run a bat file as follows:

set MB_JETTY_HOST=localhost
set MB_JETTY_PORT=3000
set MB_DB_TYPE=postgres
set MB_DB_DBNAME=metabase_test
set MB_DB_PORT=5432
set MB_DB_USER=metabase_test
set MB_DB_PASS=metabase_test
set MB_DB_HOST=localhost
set MB_EMOJI_IN_LOGS=false

java -jar metabase.jar

Note that nothing changes with windows firewall OFF or with windows firewall ON and port 3000 enabled.

any suggestions?
thank you.


"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0",
"vendor": ""
"system-info": {
"file.encoding": "Cp1252",
"": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.12+7",
"java.vendor": "Eclipse Foundation",
"java.vendor.url": "",
"java.version": "11.0.12",
"": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.12+7",
"": "Windows Server 2019",
"os.version": "10.0",
"user.language": "en",
"user.timezone": "Europe/Berlin"
"metabase-info": {
"databases": [
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "13.3"
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.2.18"
"run-mode": "prod",
"version": {
"date": "2021-09-21",
"tag": "v0.40.5",
"branch": "release-x.40.x",
"hash": "042a36e"
"settings": {
"report-timezone": null

Hi @wjz
You are telling Metabase to only be accessible on MB_JETTY_HOST=localhost, which is your computers internet address.
So remove the two Jetty variables and then it will behave similar to what you did before.

thank you @flamber.
it works.

I had already made this attempt as well.
my stupid mistake was never leaving the command prompt.
that way the previous values remained active.

P.S. is Metabase on Windows officially supported?

@wjz Metabase is supported on any platform where Java is supported, so that is basically everywhere.
Though, Windows has some quirks because of the different file path structure compared to Unix-base.