cobalt icon indicating copy to clipboard operation
cobalt copied to clipboard

Cannot connect my custom instance via reserved IP addresses

Open s-leeq opened this issue 4 months ago • 0 comments

problem description

Hi, I'm trying to host an instance on my Mac mini (host as a home server) today, and then I occurred a problem.

As I am building a Tailscale network, I wish that I can connect the instance on cobalt.tools through it. However, I can only do it using 127.0.0.1, while 192.xx.xx.xx, 100.xx.xx.xx IPs and private domains are not available, the error code on the website is "couldn't connect to the processing instance. check your internet connection and try again!" (curl shows no error).

your instance configuration

System: macOS 15.6.1 (24G90)

`docker-compose.yml`:

services:
    cobalt:
        image: ghcr.io/imputnet/cobalt:11

        init: true
        read_only: true
        restart: unless-stopped
        container_name: cobalt

        ports:
            - 9000:9000/tcp

        environment:
            API_URL: "http://xxx.xxx:9000/"
            COOKIE_PATH: "/cookies.json"
        labels:
            - com.centurylinklabs.watchtower.scope=cobalt
        volumes:
            - ./cookies.json:/cookies.json

    watchtower:
        image: ghcr.io/containrrr/watchtower
        restart: unless-stopped
        command: --cleanup --scope cobalt --interval 900 --include-restarting
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock

s-leeq avatar Sep 02 '25 15:09 s-leeq