Hello Oleg Salnikov
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
You can try and see if resetting the network interface using the Azure portal helps here.
- Log in to the Azure portal and go to your VM's page.
- Click on "Networking" on the left-hand side menu.
- Under "Network Interfaces", click on the name of the network interface associated with your VM.
- In the network interface page, click on "IP configurations" under the "Settings" section.
- Click on the name of the IP configuration associated with your VM.
- Under the IP configuration page, toggle the "Public IP address" setting to "Disabled" and then back to "Enabled".
Create a new IP as shown below:
Save your changes.
Note: This will reset the network interface and assign a new public IP address to your VM, which should allow you to access it again. This will also reset any custom network settings you may have had on the VM.
If this approach of resetting the network interface does not work, or if you need to recover data from the VM, you have to take a path of recovery services to restore the VM to a previous state.
Hope this helps.
If you need further help on this, tag me in a comment.
If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.