Follow this step-by-step tutorial to learn how to disable IPv6 on macOS.
Open Terminal by going to Finder / Applications / Utilities / Terminal.
Type he following command in the terminal window:
Press Enter from your keyboard. This will list all of your network interfaces and their names.
Note: any changes to the network preferences may revert this settings and the command may need to be run again.
Identify the network interface you are using. Usually it’s Ethernet or Wi-Fi.
If it’s Ethernet, type he following command in the terminal window:
networksetup -setv6off Ethernet If it’s Wi-Fi
networksetup -setv6off Wi-Fi
Note: you may have to use quote marks to envelope the interface name.
Click on the Apple menu and go to System Preferences.
Click on Network.
Click on your connection you want to change and click on Advanced.
Click on TCP/IP, choose Off for Configure IPv6 and click on OK.