Questions tagged [network]
Questions about configuring, troubleshooting or using connections that one device uses to talk to another.
4,196
questions
408
votes
9
answers
1.4m
views
How do I find my IP Address from the command line?
I know you can do ifconfig | grep inet, but that shows you several IPv4 addresses. How do I get the specific one for SSHing et al?
351
votes
6
answers
975k
views
How can I list my open network ports with netstat?
I would like to list my open network ports in Terminal with built in commands. As what I know, netstat is the command to use. But I'm struggling to get any useful information out of it.
How can I ...
168
votes
10
answers
168k
views
How to simulate slow internet connections on the mac
What's a good software solution to slow down internet connections on the mac for testing and simulations?
My primary need is when testing code in the iPhone / iOS simulator, so slowing down the ...
137
votes
6
answers
160k
views
How does the Mac choose which connection to use when both Wifi and Ethernet are connected?
When I'm connected to two networks with separate routers using Wifi and Ethernet, how does my Mac know what connection to use when I visit a website?
136
votes
28
answers
349k
views
DNS not resolving on Mac OS X
Some of my co-workers are having troubles on their Macs - DNS resolution does not work in Mac OS X. They're running Snow Leopard 10.6.8. They can use DNS in a Windows 7 virtual machine (VMware Fusion ...
116
votes
28
answers
238k
views
The operation can’t be completed because the original item for “Foo” can’t be found
I have a little NAS at home which makes some volumes available through AFP. This all worked great. Until I shut it down for a while and reconnected it recently.
I can see the device on the network ...
105
votes
5
answers
143k
views
Why is my host name wrong at the Terminal prompt when connected to a public WiFi network? [duplicate]
For three days straight, I have connected to the public WiFi network at my local library. Each day, I have seen a different prompt in Terminal. Here are some of the prompts I've seen:
zp-pc:~ russell$...
99
votes
5
answers
184k
views
Set the hostname/computer name for macOS
I have a local network at home. This network contains 5 laptops. One of the laptops is a Mac with macOS 10.8 on it. The other has a Linux installed, all others run Windows.
When trying to open my ...
73
votes
9
answers
118k
views
How to automatically login to captive portals on OS X?
How can I automatically login to captive portals on OS X?
A captive portal is used by (often not password-protected) wireless networks that present a web page as soon as you connect to them, ...
67
votes
4
answers
91k
views
What is the modern way to do port-forwarding on El Capitan? (forward port 80 to 8080)
The old utility ipfw was discouraged in recent versions of Mac OS X and is now gone from El Capitan.
What is the modern way to do port forwarding in El Capitan?
I simply want port 80 to forward to ...
65
votes
16
answers
78k
views
Computer name keeps changing OSX 10.10 (14A389)
Since I upgraded to Yosemite 10.10 (14A389) my computer name keeps changing adding a (2) and (3) and so forth.
Any ideas how to fix this?
58
votes
17
answers
54k
views
MacBook Pro experiencing ping spikes to local router
I'm experiencing extreme ping spikes to my AirPort Extreme (local IP: 192.168.1.1), however I am not getting these ping spikes on another MacBook Pro right next to it.
Here are my ping results.
...
57
votes
6
answers
79k
views
How can I open port 80 so a non-root process can bind to it?
I want to run a web server on my Mac as a non-root process. Normally only root processes can bind to port 80 (or to any port below 1024).
Can I open port 80 specifically so that non-root processes ...
57
votes
4
answers
157k
views
PPTP VPN client for macOS Sierra or iOS 10?
Apple has removed PPTP VPN support in Sierra due to security concerns. See: https://support.apple.com/en-us/HT206844
Unfortunately, I need to connect to an organisation that only supports PPTP (not ...
56
votes
7
answers
43k
views
Managing Metered Connections on OSX
I'm being forced to use my Macbook more and more with my metered 4G connection. I really need to keep data usage limited. Windows has an metered connection mode which really helps with this.
What's ...
54
votes
9
answers
905k
views
How do I know the IP addresses of other computers in my network?
Say that I have two computers connected to the same network.
I know that from computer1 and file sharing enabled I can snoop around inside computer2.
But say that there is something interesting on ...
49
votes
3
answers
21k
views
`Do you want the application "main" to accept incoming network connections?` pop up while running Go applications
Every time I am running Go applications on MacOs with this command:
go run main.go
I get this pop up message:
Do you want the application "main" to accept incoming network connections?
I added Go ...
47
votes
7
answers
76k
views
Bandwidth shaper or bandwidth controller application for Mac OS X
I'm looking for a bandwidth/packet throttle/shaper program with the following features:
Similar to Windows-based Netlimiter.
GUI based and not terminal or command line.
Shows list of all applications ...
43
votes
12
answers
66k
views
How can I pair my Magic Trackpad with multiple Macs?
I have a Magic Trackpad that I'm using with my iMac.
Everything works great, but I would also like to use the trackpad with my MacBook.
For some reason, it seems that I can only pair the trackpad ...
42
votes
14
answers
51k
views
Why is Safari ignoring my /etc/hosts file?
I added some domains to block (127.0.0.1 mydomain.com) to my /etc/hosts file and for some reason, Safari seems to be ignoring them.
I have tried:
disabling Safari extensions,
clearing the cache (...
42
votes
1
answer
41k
views
If my Mac is connected to ethernet and WiFi, which will it use? [duplicate]
As per title. I have ethernet issues at home and if I just turn WiFi on my MacMini, will this take over or will it default to ethernet unless I pull the cable out?
40
votes
2
answers
190k
views
Should I block incoming connections from "netbiosd"?
My (application) firewall settings are configured to block incoming connections from netbiosd. I don't recall setting this myself, and wonder what the consequences are.
What are the consequences of ...
39
votes
6
answers
75k
views
How can I get the exact URLs/requests that a program is trying to connect to?
I currently use Little Snitch to control network traffic on my Macbook Pro, and see what my apps are connecting to.
Unfortunately, Little Snitch only shows you the hostname that an app is connecting ...
37
votes
1
answer
11k
views
Should ControlCenter.app listen to port 5000/tcp on a normal macOS Monterey system?
I fetched the data below using lsof -i:5000 and ps aux commands.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ControlCe 6560 myusername 22u IPv4 ...
37
votes
7
answers
188k
views
How to use 3rd-party USB Ethernet adapter with El Capitan
I am plugging a USB Ethernet adapter (not Apple-brand) into my MacBook Pro (Retina, 15-inch, Late 2013). No go.
I do not see any relevant "USB Ethernet" item listed in System Preferences > Network. ...
37
votes
6
answers
144k
views
Which free alternatives to Little Snitch can I use to block internet traffic per applications?
Little Snitch can block internet traffic of a particular app. Can I do something similar without (paying) Little Snitch, either by using free alternatives or configuring the OS X firewall directly?
36
votes
8
answers
93k
views
Change MAC address in OS X Yosemite
I usually changed my MAC address with the following commands:
# Get a New MAC Address
openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'
# Changing the MAC Address
sudo ifconfig en0 ether d4:33:a3:ed:...
36
votes
5
answers
80k
views
Prevent a specific app from accessing the Internet
I use Microsoft OneNote on my Mac.
How can I can turn off the Internet access to Microsoft OneNote on my Mac?
36
votes
6
answers
71k
views
How to get OSX to pick the strongest wifi signal with identical SSIDs?
I have a Netgear wireless router in one room, and a TP-Link powerline adaptor with wifi in another room. I'm using a 2014 MacBook Pro with Yosemite 10.10.1
Previously I had separate SSIDs for each of ...
36
votes
10
answers
41k
views
Why is the menu bar showing the VPN "Disconnecting" animation forever?
You know how when you disconnect from a VPN, you get a little scrolling "Disconnecting..." notification in the upper right notification area?
Well, I'm getting that, but it never goes away. It's been ...
34
votes
11
answers
72k
views
How to find the currently connected network service from the command line?
I would like to find out which of the available network services (e.g. Ethernet or Wi-Fi) is currently active. In this screenshot from the Network Preferences, you can see that Wi-Fi is currently ...
34
votes
5
answers
43k
views
Show Active Connections to "Internet Sharing"
How can I view a list of devices that are connected to my Apple laptop via Internet Sharing (when it's enabled)? If a list doesn't exist, does Internet Sharing log DHCP requests and if so, where? ...
32
votes
6
answers
57k
views
Network stops working, with "Can't Assign Requested Address"
On OS X 10.9 (but no prior version), every now and then, I start getting strange network errors. I can still ping, but anything that requires actual content (like a web page) completely stops.
For ...
32
votes
7
answers
81k
views
How to find IP address of my other Mac?
I have two Macs on the same network, both plugged into my internet router. I have screen-sharing set up on one of them, so I can connect to it using command-K in the Finder with a vnc:// URL, and ...
31
votes
3
answers
33k
views
How to get the geolocation of an IP address in Terminal?
Is it possible to get the geolocation of an IP address in Terminal?
Not sure what the numbers in an IP address mean, but there must be some logic behind it, so lookup can't be that hard.
31
votes
1
answer
50k
views
What is the "studentd" process?
I'm logging network traffic (with Radio Silence), and noticed that the studentd process from /usr/libexec/studentd is connecting to some server.
What is this process doing, why does it need internet ...
31
votes
3
answers
21k
views
In activity monitor what time frame is the data sent / received data from?
In the network tab in activity monitor there is a read out of data usage showing sent and received in GB. What this dosnt tell you is over what time period this is, is it from a day, a week and month ?...
30
votes
1
answer
854k
views
What, precisely, does "reset network settings" do on an iPhone?
I use "internet sharing" on my Mac, but lately I've been having trouble connecting my iPhone 5 to the resulting WiFi network. I've read advice online to do Settings -> General -> Reset -> ...
30
votes
7
answers
41k
views
How do I stop my computer name from automatically, and incorrectly, changing?
Ever since I upgraded my 2009 iMac to Mavericks, I often get a message stating 'The name of your computer "Foo" is already in use on this network. The name has been changed to "Foo (2)".'. The number ...
29
votes
5
answers
25k
views
How can I quickly change DNS server
I often like to use a non-network specific DNS server (like Google's public DNS 8.8.8.8). However, many public wi-fi locations won't load their "terms of service, click here" page during the ...
29
votes
6
answers
7k
views
How do I prevent document preview over slow connections?
Once in a while I have to work over a 3G network, which is reasonable, until I mount a file system on the other side of the world.
When that happens OSX tries to show me "previews" of every single ...
29
votes
5
answers
410k
views
Restrict an iOS app from using Wi-Fi internet
iOS allows you to restrict specific apps from accessing the internet when using cellular data.
Is it possible to do the same when Wi-Fi is turned on?
Is there any way to restrict an iOS app from ...
28
votes
3
answers
80k
views
How to restart network services on Sierra?
On FreeBSD/Linux, it is possible to restart network services by restarting a daemon.
Is there something similar in macOS Sierra?
28
votes
19
answers
83k
views
Macbook loses network connection when connecting external display
In the image below you can see the mtr output while connecting the screen, the red part is where the monitor is connected. The monitor works just fine and has no problems with other computers, it's ...
28
votes
4
answers
34k
views
What does the dynamic global hostname option in sharing settings do?
Can anyone explain what this option does?
28
votes
4
answers
7k
views
Internet speed getting slower over time on MBP
Recently I've noticed that internet speeds on my MBP 2018 (Mojave 10.14.4) are decreasing with time. For example, after a day it will go from 100 MB to 60 MB and it will continue to decrease. The plot ...
28
votes
9
answers
154k
views
How do I troubleshoot my Wi-Fi connection when an exclamation mark appears?
Sometimes, when I am in a public Wi-Fi an exclamation mark appears in the greyed out Wi-Fi icon.
I can connect to the Wi-Fi (I get assigned an IP address), but I cannot establish an internet ...
27
votes
5
answers
85k
views
How to make Time Machine backups over network without OS X server?
At our institute, we have several Macs (from 10.6 to 10.8) but not one is running a server version. In the one running 10.8 there are 4.5 TB of hard-drives from which 2 x 2 TB are raided together (...
27
votes
1
answer
36k
views
Cannot ping my local machine
I have just updated my Mac to macOS Sierra 10.12. My hostname is ninjaPixels-Macbook-Pro and if I run:
ping ninjaPixels-Macbook-Pro.local
or ping ninjaPixels-Macbook-Pro
I get an error of unknown ...
27
votes
2
answers
15k
views
How to set custom DNS entry for a particular wifi connection
Is there a way to set custom DNS settings for a single wifi connection without affecting other connections?
I use my laptop at home and work. When at work I need to type in an IP address of a local ...