ping stopped working on macOS sequoia 15.0

% ping localhost

PING localhost (127.0.0.1): 56 data bytes

Request timeout for icmp_seq 0

Request timeout for icmp_seq 1


% ping 172.16.9.145

PING 172.16.9.145 (172.16.9.145): 56 data bytes

Request timeout for icmp_seq 0

Request timeout for icmp_seq 1


ncat is working just fine...

% nc -zv 172.16.9.145 53

Connection to 172.16.9.145 port 53 [tcp/domain] succeeded!




MacBook Pro 14″

Posted on Sep 18, 2024 5:49 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 7, 2024 3:58 AM

Even after trying all the solutions in this thread and updating to 15.1, two of my apps still couldn't access or ping any devices on my local network, except for the router.


I tried everything suggested, including disabling the firewall, but nothing worked. Today, I took a closer look at the settings and found an option under Privacy & Security > Local Network. When I checked this setting, I realized my apps didn’t have permission to access any devices on the network. I enabled the permission, and now I can successfully ping and SSH to other devices on my network.


Hopefully, this helps someone else avoid the same issue and saves some troubleshooting time!

10 replies
Question marked as Top-ranking reply

Nov 7, 2024 3:58 AM in response to geoffrey777

Even after trying all the solutions in this thread and updating to 15.1, two of my apps still couldn't access or ping any devices on my local network, except for the router.


I tried everything suggested, including disabling the firewall, but nothing worked. Today, I took a closer look at the settings and found an option under Privacy & Security > Local Network. When I checked this setting, I realized my apps didn’t have permission to access any devices on the network. I enabled the permission, and now I can successfully ping and SSH to other devices on my network.


Hopefully, this helps someone else avoid the same issue and saves some troubleshooting time!

Sep 19, 2024 10:04 AM in response to leroydouglas

I confirmed Terminal did NOT have full disk access - no apps had FDA. Prior to upgrading to Sequoia I can confirm Terminal did have full disk access.


I never checked FDA yesterday but I did notice FW was blocking Terminal and I was unable to remove the app while using the GUI. I was able to correct using the cli...


#Apple Firewall Commands

#FIX Terminal

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --listapps

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --remove /System/Applications/Utilities/Terminal.app

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /System/Applications/Utilities/Terminal.app

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblock /System/Applications/Utilities/Terminal.app

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on


With FDA, I'm assuming I wouldn't need to correct the odd FW Terminal block.

Sep 23, 2024 9:58 AM in response to geoffrey777

Hello all, thanks to geoffrey777, I can confirm that these commands fixed my issue. I was not able to ping out from MAC OS Sequoia. All good after I have applied the fix:



#Apple Firewall Commands

#FIX Terminal

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --listapps

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --remove /System/Applications/Utilities/Terminal.app

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /System/Applications/Utilities/Terminal.app

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblock /System/Applications/Utilities/Terminal.app

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on


Kind regards


MG

Sep 18, 2024 6:19 PM in response to geoffrey777

geoffrey777 wrote:

% ping localhost
PING localhost (127.0.0.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1

% ping 172.16.9.145
PING 172.16.9.145 (172.16.9.145): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1

ncat is working just fine...
% nc -zv 172.16.9.145 53
Connection to 172.16.9.145 port 53 [tcp/domain] succeeded!




Verify your your Terminal.app in the >System Settings>Privacy & Security>Full DIsk Access




macOS Sequoia not seeing the issue...


--- localhost ping statistics ---

54 packets transmitted, 54 packets received, 0.0% packet loss

round-trip min/avg/max/stddev = 0.047/0.121/0.172/0.030 ms

MacBook-Pro ~ %

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.

ping stopped working on macOS sequoia 15.0

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.