Skip to content

Traefik IP on MacOS does not seem to listen on localhost #331

Open
@mbrancato

Description

@mbrancato

The docs for the Traefik IP for MacOS indicates there are two states - listening on localhost, and listening on a new IP bridge using socket-vmnet.

<TabItem value="macOS">
1. Open a bash session and set the node IP to your localhost address:
<Tabs>
<TabItem value="Default">
```bash
IP=127.0.0.1
```
</TabItem>
<TabItem value="socket-vmnet Enabled">
```bash
IP=`kubectl get node/lima-rancher-desktop -o jsonpath='{.status.addresses[?(@.type=="ExternalIP")].address}'`
```
</TabItem>
</Tabs>

I cannot seem to reproduce the localhost listening with socket-vmnet disabled. It appears to always use socket-vmnet or a bridge. This is on the latest MacOS Sonoma.

Is this maybe out of date documentation? Are there alternative instructions to get Traefik to listen on localhost?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions