if a network card goes down, does 127.0.0.1 go down also

mredixon

Reputable
Mar 7, 2014
1
0
4,510
We are communicating locally between two of our own applications. One is a viewer and the other is a acquirer of data that acts as a server. They both put out a UDP broadcast with a message stating their network card IP address. If the Viewer and the server are on the same machine, we use the loopback address (127.0.0.1) to communicate. One of our customers has setup where their network card is accessing the internet through a cell service with a fail safe option of a satellite service if the cell service goes down. This fail safe option is automatic and the user does not have to do anything. The problem is that our viewer loses the loopback connection when they switch from cell to satellite. My question is, how does the loopback address get effected by the network card going down and coming back up. FYI each time they have an ip address on the PC as 192.168.1.99 with a subnet of 255.255.0.0. When I say each time, the IP address for the PC is static not dhcp/dynamic. Can anyone explain to me how the loopback is effected? FYI the cell/satellite are using a wired LAN adapter.
 

Powerbolt

Honorable
Oct 21, 2013
413
0
10,960
No, it shouldn't anyway. 127.0.0.1 is exactly that. Packets sent to this address typically never even leave through any of the network interfaces, and thus are not affected by any disruptions these cards may experience.

I hope this answers your question as it was difficult to understand.