Can't access nextcloud from LAN

can you check on your client which DNS server is used?

On Windows it would be ipconfig -all