跳转至

Use m1 max MacBook reach OpenClaw UI

This is a very practical question. Because you are running the OpenClaw "body" on a separate headless Linux machine, you need to access its visual interface over your local network from your main computer (the M1 Max).

Here is the step-by-step process to find and open the UI.

Prerequisites

Ensure the docker compose up -d command on your 2012 Linux MacBook has completed successfully and the containers are running.

Step 1: Find the IP Address of the Linux Machine

You need the network address of the 2012 MacBook Pro. On that Linux machine's terminal, run:

ip addr
(Or try hostname -I for a cleaner output).

Look for the IP address associated with your connection (usually under eth0 for ethernet or wlan0 for Wi-Fi). It will look something like 192.168.1.X or 10.0.0.X.

Let's assume for this example that your Linux IP is 192.168.1.100.

Step 2: Identify the Port Number

OpenClaw's user interface runs on a specific web port. By default, this is almost always Port 3000.

You can verify this by looking at the docker-compose.yml file on your Linux machine. Look for the ports section under the main application service:

ports:
  - "3000:3000"  # The number on the LEFT is the one you need

Step 3: Open it on your M1 Max

  1. On your M1 Max, open any web browser (Safari, Chrome, Firefox).
  2. In the address bar, type the protocol http://, followed by the Linux machine's IP address, a colon, and the port number.

Using our example IP and default port, you would type:

http://192.168.1.100:3000

If everything is working, the OpenClaw user interface should load in your browser.


Troubleshooting: "I can't connect"

If the site refuses to load or times out, the issue is almost certainly the firewall on the Linux machine blocking incoming connections on port 3000.

To fix this on the Linux 2012 MBP:

  1. If you are using Ubuntu (or similar), use UFW (Uncomplicated Firewall) to open the port:

    sudo ufw allow 3000/tcp
    sudo ufw reload
    

  2. Try accessing the URL from your M1 Max again.