Apple macOS

The connected computer must obtain an IP address by DHCP from the network.

Therefor the configuration of the Ethernet connection need to be set to DHCP:


If the operating system is showing that no network cable is connected, a network socket lock could be the reason.