Either you or your friend has their network connection type set to Public.
Open your Network and Sharing Center
WinKey + r
control.exe /name Microsoft.NetworkAndSharingCenter
This will show you how you are setup. If public, set to private or work/domain