Skip to content

Can't bind in macOS Ventura: permission denied #4

@jeisoncp

Description

@jeisoncp

I tried to tunneling the VNC port (5900) over SSH, as the documentation says:

exit
ssh -L 5900:localhost:5900 -i <ec2-key-pair> ec2-user@<ip-address>

But the remote console returns:

bind [127.0.0.1]:5900: Permission denied
Last login: Mon Jan  2 21:07:03 2023 from [...]

    ┌───┬──┐   __|  __|_  )
    │ ╷╭╯╷ │   _|  (     /
    │  └╮  │  ___|\___|___|
    │ ╰─┼╯ │  Amazon EC2
    └───┴──┘  macOS Ventura 13.0.1

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