Azure Windows VM cannot access file share of itself by public IP address

Server Fault Asked by Wakusei on November 2, 2020

I made a virtual machine on Azure Virtual Machines with Windows Server 2019.

I tried to access SMB file share of the server from the same machine. But it failed.

access from: (The same machine)
access to: (public IP address)

net use /user:test

The specified network password is not correct.

I tried to access it from another PC and it succeeded. The same NSG was used between the two cases. It was not caused by the NSG or firewall settings on Windows.

access from: (non-Azure PC)
access to: (public IP address)

net use /user:test

Azure VMs only know their private address. I added the public address to the NIC. After that I was able to access the file share.

Does anybody know why I couldn’t access the same machine? I guess IP address is somehow associated with the problem.

One Answer

NTLM loopback protection would be my guess as you’re authenticating from the same host not via it’s hostname.

Correct answer by Greg W on November 2, 2020

Add your own answers!

Related Questions

Forge UDP checksum

1  Asked on November 4, 2021 by wullxz


FFMPEG Install on EC2 – Amazon Linux

4  Asked on November 4, 2021 by oliver-holmberg


How to install Asterisk with SRTP support?

3  Asked on November 4, 2021 by justlogin


CentOS 6.0 only shows loopback address with ifconfig

2  Asked on November 4, 2021 by nakiya


Working with array of object in Zabbix

1  Asked on November 4, 2021 by yury


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP