How To Open Ports On MacOS 12.2 - Apple Support Communities
Maybe your like
- Ask the Community
- Browse
- Search
- Sign in
- Sign in corporate
Everything was working fine and then it wasn't…
I have had port 8444 open for a year, the other day I woke up to a MacPro that had restarted because of an issue. In starting up my apps I found that Port 8444 was closed. I contacted AT&T and the tech had all kinds of issues and escalated, her supervisor "Skyler" stated that he determined the issue was with my Mac and just unilaterally cut off and disconnected the chat. How rude…
Anywayz I'm trying to check on opening that port and don't see any recent Support answers
I tried installing Homebrew, but that doesn't seem to make the "nmap -p 8444 localhost" command to be recognized
Mac Pro, macOS 12.1
Posted on Feb 9, 2022 9:24 AM
Me too (15) Me too Me too (15) Me too Reply Question marked as Top-ranking reply User profile for user: Grant Bennet-Alder Grant Bennet-Alder User level: Level 10 140,297 pointsPosted on Feb 9, 2022 12:14 PM
As long as you do not deliberately invoke the MacOS firewall (which is completely unnecessary) ALL ports are already open on your Mac.
Your Mac is protected from attack over the internet by a Network/Router feature called Network Address Translation.
In Internet networking, a private network is a computer network that uses a private address space of IP addresses. These addresses are commonly used for local area networks (LANs) in residential, office, and enterprise environments.
from:
https://en.wikipedia.org/wiki/Private_network
IPv4 Addresses in the range of 192.168.xxx.yyy, 10.xxx.yyy.zzz, or 172.16.xxx.yyy are NOT available for use on the Internet at large. To send a message on the Internet, your Router acts as your agent, substitutes its own, network-visible address, and sends out requests on your behalf. any unsolicited incoming requests are discarded by default, unless you enable port forwarding aka open a port on your router.
So when we talk about 'Opening a Port', this ALWAYS means a port on your Router, and in addition to Opening, you need to specify what local IP address the requests that come in, tagged with that port number, are to be sent. In general, when you forward a port, you should also commit to manual IP address for the computer to which those requests will be forwarded.
If you have reconfigured or reset you network so that your target computer has received a different DHCP address than previous, these incoming request could be being sent to a different device than before.
In general, the work of opening ports is done on your Router. Ports on your Mac are all already open.
If the software involved were a multi-player game, many of these games use a standard protocol to talk to your Router and do the work of opening the port for you.
View in contextSimilar questions
- 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. 5642 5
- UDP ports 137, 138, 5353 So I'm learning several topics when it comes to networking right now and more so with my Mac. I was wondering if anyone could tell me if it is typical for ports 137, 138, and 5353 to be open ports on my MBP even with the firewall blocking all incoming connections? Any explanation as to their uses is also greatly appreciated and much thanks in advance to anyone able to explain them to me! 4336 2
- Exposed port unavailable after a while Hi! I'm very new to Apple, my first device is the Mac mini M1, I'm trying to expose some services (through Docker) but I currently have some problems. I investigated a little more and I found that my problem is not related to docker, once I try to expose a port directly with: ⚡ nc -lk 0.0.0.0 8888 and I try to connect from another devices (192.***.0.167 is the IP of the Mac Mini) here is what's happening: daniele@xxxxx /home/daniele ⚡ while true; do sleep 2; nc -zv 192.***.0.167 8888; done ^C daniele@xxxxx /home/daniele ⚡ nc -zv 192.***.0.167 22 Connection to 192.***.0.167 22 port [tcp/ssh] succeeded! daniele@xxxxx /home/daniele ⚡ while true; do sleep 2; nc -zv 192.***.0.167 8888; done Connection to 192.***.0.167 8888 port [tcp/*] succeeded! Connection to 192.***.0.167 8888 port [tcp/*] succeeded! Connection to 192.***.0.167 8888 port [tcp/*] succeeded! ^C [Personal Information Edited by Moderator] In the first attempt I don't get any answer, so I interrupt after a while; then a connection on the SSH port (remote login is enabled) "unlocks" the other ports, and finally if I try to connect it magically works! After a while the port becomes unavailable again and to access the service I must first connect to the SSH port. Could you explain me what's happening? Thank you 1697 12
Loading page content
Question marked as Top-ranking reply User profile for user: Grant Bennet-Alder Grant Bennet-Alder User level: Level 10 140,297 pointsFeb 9, 2022 12:14 PM in response to Randall White
As long as you do not deliberately invoke the MacOS firewall (which is completely unnecessary) ALL ports are already open on your Mac.
Your Mac is protected from attack over the internet by a Network/Router feature called Network Address Translation.
In Internet networking, a private network is a computer network that uses a private address space of IP addresses. These addresses are commonly used for local area networks (LANs) in residential, office, and enterprise environments.
from:
https://en.wikipedia.org/wiki/Private_network
IPv4 Addresses in the range of 192.168.xxx.yyy, 10.xxx.yyy.zzz, or 172.16.xxx.yyy are NOT available for use on the Internet at large. To send a message on the Internet, your Router acts as your agent, substitutes its own, network-visible address, and sends out requests on your behalf. any unsolicited incoming requests are discarded by default, unless you enable port forwarding aka open a port on your router.
So when we talk about 'Opening a Port', this ALWAYS means a port on your Router, and in addition to Opening, you need to specify what local IP address the requests that come in, tagged with that port number, are to be sent. In general, when you forward a port, you should also commit to manual IP address for the computer to which those requests will be forwarded.
If you have reconfigured or reset you network so that your target computer has received a different DHCP address than previous, these incoming request could be being sent to a different device than before.
In general, the work of opening ports is done on your Router. Ports on your Mac are all already open.
If the software involved were a multi-player game, many of these games use a standard protocol to talk to your Router and do the work of opening the port for you.
ReplyLink
User profile for user: Grant Bennet-Alder Grant Bennet-Alder User level: Level 10 140,297 pointsFeb 10, 2022 6:42 PM in response to Randall White
I am not talking about the Internet-visible IP address.
When a port on your Router is opened, your router does port forwarding. ¿is it forwarding to the correct local IP address?
I am talking about what local IP address (from the range of Private IP address used INSIDE your network) is currently in use by the device your Router calls "Mac-Pro".
ReplyLink
User profile for user: Grant Bennet-Alder Grant Bennet-Alder User level: Level 10 140,297 pointsFeb 10, 2022 1:08 PM in response to Randall White
Does the cited device named Mac-Pro still point to your Mac Pro at its current IP address?
I tried to suggest earlier that if you allowed DHCP to provide the address, sooner or later the Mac Pro would get a random address, and that nailing that IP address down with a manual IP address assignment was appropriate.
ReplyLink
User profile for user: MrHoffman MrHoffman Community+ 2025 User level: Level 10 145,259 pointsFeb 11, 2022 8:59 AM in response to Randall White
Register the MAC address from the Mac Pro into the DHCP database in the router, and set a fixed address.
ReplyLink
User profile for user: Tesserax Tesserax User level: Level 10 157,902 pointsFeb 10, 2022 9:10 AM in response to Randall White
As Grant Bennet-Alder has already mentioned, if either software firewall on your Mac: Socket Filter (Application-layer) or Packet Filter (Network Layer), is not enabled (they are not, by default), then it's NOT your Mac that would be blocking this port ... or any port.
If I had to guess, AT&T is "monitoring" activities, like bitcoin mining, over their network and blocking them should they exceed some pre-defined threshold level.
ReplyLink
User profile for user: Tesserax Tesserax User level: Level 10 157,902 pointsFeb 10, 2022 11:40 AM in response to Randall White
Well, my only parting thoughts would be does AT&T provide you with administrator rights to allow you to make configuration changes on this gateway device? If so, you can, at least, see if there are any firewall rules or port blocking enabled. Other than that, good luck! Sorry, that I couldn't offer any assistance with this.
ReplyLink
User profile for user: Randall White Randall White Author User level: Level 1 18 pointsFeb 9, 2022 10:27 AM in response to Grant Bennet-Alder
I've had port 8444 open for a year
Before the issue was to open the port at the router. ATT claims that it is open on their end.
So how do I check that if the MacPro or OS 12.2 has a new security feature that is blocking that port?
I want peers to be able to connect to my computer, that is all you need to know about that
ReplyLink
User profile for user: Tesserax Tesserax User level: Level 10 157,902 pointsFeb 9, 2022 1:34 PM in response to Randall White
To add to Grant Bennet-Alder's excellent reply, are you using your Mac Pro as a server that will be accessed from the Internet? Typically port 8444 is used for Bitmessage. Also, did you download nmap by using the Homebrew package manager?
ReplyLink
User profile for user: Randall White Randall White Author User level: Level 1 18 pointsFeb 10, 2022 8:35 AM in response to Tesserax
Tesserax, the "nmap" command doesn't work, even though I installed Homebrew. I'm getting:
#nmap -p 8444
-bash: nmap: command not found
#
That's an entirely different issue
I'm looking at the possibility that Port 8444 is closed on my MacPro and not on my AT&T Fiber router. Over a year ago, I called AT&T tech and they opened that port for me. I'd prefer to be able to open it myself, but that worked.
To port forward on port 8444 is part of synching and downloading on a blockchain. [ I am, intentionally, not identifying that ]
When I use https://portchecker.co/ it shows that 8444 is closed. My inclination is to believe that the AT&T support got frustrated for some reason and that port is actually closed on their router and has nothing to do with my MacPro. But I really don't have a way to prove that, currently.
It's an AT&T model BGW320-505 gateway
ReplyLink
User profile for user: Randall White Randall White Author User level: Level 1 18 pointsFeb 10, 2022 9:51 AM in response to Tesserax
Tesserax wrote:
If I had to guess, AT&T is "monitoring" activities, like bitcoin mining, over their network and blocking them should they exceed some pre-defined threshold level.
That's a reasonable guess, but that's only a guess. If that was the case, then there would be many people complaining about that. So far I have not seen any evidence of that, even on my Keybase or GitHub channels. So, that suspicion is unlikely.
My best guess is that Skyler (AT&T supervisor) was having a bad day, and that I should try a different avenue there. It's just that I spent over two hours and over five restarts before I was escalated to Skyler, then he closed the chat and made some hasty generalizations within two minutes. Very uncharacteristic; but that does enhance that "monitoring" bandwidth guess.
That PortChecker link is independent of any crypto/gaming/NFT software, other than the browser, so it serves as an objective base-point — as long as their code is working.
There could also be some sort of malware that closes certain ports so that there are fewer servers on the network.
ReplyLink
User profile for user: Randall White Randall White Author User level: Level 1 18 pointsFeb 10, 2022 11:58 AM in response to Tesserax
It seems as though Skyler was correct. I had to dig around a bit to find the "administrator rights" IP address. I have been here before. As you can see, on this page, Port 8444 is open. So it really does come down to determining if Port 8444 is blocked on the Mac Pro. I DO have the firewall turned off.
Link
User profile for user: Randall White Randall White Author User level: Level 1 18 pointsFeb 10, 2022 6:16 PM in response to Grant Bennet-Alder
Grant,
The IP address at https://portchecker.co/ has remained static before and after contacting AT&T so the DHCP is irrelevant.
I'm hoping that there's someone who knows how to check, with Terminal, if Port 8444 is closed on the Mac Pro.
ReplyLink
User profile for user: Randall White Randall White Author User level: Level 1 18 pointsFeb 11, 2022 9:03 AM in response to Grant Bennet-Alder
Grant Bennet-Alder wrote:
I am not talking about the Internet-visible IP address.
When a port on your Router is opened, your router does port forwarding. ¿is it forwarding to the correct local IP address?
I am talking about what local IP address (from the range of Private IP address used INSIDE your network) is currently in use by the device your Router calls "Mac-Pro".
Grant,
My bad…
That was interesting. On the gateway's Device List page it matched (xxx.67) Then I hit "Clear and Rescan for Devices" and still matched the IPv4 Address and the IPv6 Addresses
The Mac Pro preferences showed the same xxx.67
The gateway also shows xxx.64 allocated to Wi-Fi
I turned off Wi-Fi and rechecked with the https://portchecker.co/ in case that was the confusion, but it still showed that Port 8444 was still closed with just an Ethernet hardwire connection.
In that time I also had a System software update from 12.2 to macOS 12.2.1
After that I also renewed the DHCP Lease from Mac System Preferences
ReplyLink
User profile for user: Grant Bennet-Alder Grant Bennet-Alder User level: Level 10 140,297 pointsFeb 9, 2022 10:19 AM in response to Randall White
You ARE holding it wrong.
¿what are you using this for, and what software is being used?
ReplyLink
This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.
- Go to page of 1
How to open ports on macOS 12.2
Welcome to Apple Support Community A forum where Apple customers help each other with their products. Get started with your Apple Account. Learn more Sign up Ask a question ResetTag » How To Open Port 8444
-
Open CHIA 8444 Port On The Router - SPEED UP YOUR SYNCING!
-
Resolving Sync Issues Port 8444 · Chia-Network/chia-blockchain Wiki
-
[REQ]How To Open Port 8444? · Issue #3836 - GitHub
-
Have You Forwarded Port 8444 Via Your Router To Your Primary Farmer ...
-
This Might Be Helpful: How To Check If Port 8444 Is Really Open : R/chia
-
Chia Port Forwarding | How To Open Ports For Chia Network - PureVPN
-
Opening Port 8444 (Windows Users) : Chia - Reddit
-
Forward Port 8444 To Chia Blockchain From Your Router
-
Port 8444 (tcp/udp) - SpeedGuide
-
Chia Mining Open CHIA 8444 Port On The Router - SPEED UP YOUR ...
-
Open Port Check Tool - Test Port Forwarding On Your Router
-
Open Port In Firewall / Port Forwarding For Whole Network
-
Optional - Set Up Port Forwarding For Single Application Server
-
Guardium Port Requirements - IBM