Home / Localhost / localhost:8081

localhost:8081 (React Native Metro, Expo): not working and fixes

Port 8081 is used by the React Native Metro bundler and the Expo dev server. How to open it and fix errors.

Open this address: http://localhost:8081This opens on your own computer. It only works if the program is running.

localhost:8081 is the Metro bundler, the program that builds and serves your JavaScript to a React Native or Expo app. A phone or emulator connects to it, so errors usually mean the device cannot reach your computer.

localhost:8081 in a browser address bar reaches port 8081 on your computer, where React Native Metro, Expo is running

What runs on localhost:8081

Commands to start and test port 8081

Start Metro (React Native)
npx react-native start
Start Expo
npx expo start
Check that Metro is running
curl http://localhost:8081/status
Android emulator or USB device cannot connect
adb reverse tcp:8081 tcp:8081

Find what is using port 8081

Run these in a terminal on your computer. Nothing is sent to this site.

If localhost:8081 will not open

Unable to load script / Could not connect to development server
The app on the device cannot reach Metro. Keep the phone on the same Wi-Fi as your computer, or for Android over USB run adb reverse tcp:8081 tcp:8081.
Port 8081 is already in use
Another program is on port 8081. Find it with the tool below and stop it, or start yours on another port.
This site can’t be reached (ERR_CONNECTION_REFUSED)
The server is not running. Start it and keep that terminal open. See the full checklist.
Works on your computer, not on your phone
Start the server on all network addresses and use your computer’s IP address. See how to open localhost from your phone.

Other ports like 8081

PortUsually used by
localhost:3000React, Next.js, Express
localhost:5173Vite dev server
localhost:4200Angular dev server
localhost:5000Flask
localhost:8000Django, PHP, Python
localhost:8080Tomcat, Spring Boot, Docker
localhost:8888Jupyter Notebook

Questions about localhost:8081

Why does opening localhost:8081 show a plain page?
Metro is a bundler, not a website. The page mostly confirms it is running, and the app loads its files from it.
How do I check that Metro is running?
Open localhost:8081/status. A running Metro answers packager-status:running.

Updated 2026-10-11

Free tools that help

Related pages