Can't open a port on MacOS Monterey
Hi all!
I have a problem with opening a port on my Mac. An application needs 9654 to be opened.
I've tried yo edit pf.conf and add this rule there:
pass in proto tcp from any to any port 9654
but when I save the file and then do sudo pfctl -f /etc/pf.conf the message appears:
No ALTQ support in kernel
ALTQ related functions disabled
and nothing happens (I mean the port stays to be closed).
Here is the result of sudo lsof -PiTCP -sTCP:LISTEN:
ControlCe 515 *** 16u IPv4 0x1ee6bb88a66edd5d 0t0 TCP *:7000 (LISTEN)
ControlCe 515 *** 17u IPv6 0x1ee6bb7a3f8cabc5 0t0 TCP *:7000 (LISTEN)
ControlCe 515 *** 18u IPv4 0x1ee6bb88a66f12cd 0t0 TCP *:5000 (LISTEN)
ControlCe 515 *** 19u IPv6 0x1ee6bb7a3f8cb2a5 0t0 TCP *:5000 (LISTEN)
AnyDesk 2068 *** 18u IPv4 0x1ee6bb88a66d5d5d 0t0 TCP *:7070 (LISTEN)
AnyDesk 2068 *** 39u IPv4 0x1ee6bb88a40e12cd 0t0 TCP *:59155 (LISTEN)
cupsd 49463 root 5u IPv6 0x1ee6bb7a3f8cc065 0t0 TCP localhost:631 (LISTEN)
cupsd 49463 root 6u IPv4 0x1ee6bb88a5837dad 0t0 TCP localhost:631 (LISTEN)
I've tried to use Murus Lite to manage Firewall. So, made a group, added port 9654 there, set Inbound policy - Pass for this group. But nothing happened.
I check connection with https://localhost:9654/?method=ping but it answers that it can't connect to the site. Other ports return the same error.
Please help me!
What do I need to do to open the port correctly.
Thank you.
MacBook Air (2020 or later)