PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, May 15, 2022

[FIXED] How to find the FQDN of an Azure VM

 May 15, 2022     azure, linux, ssh, ubuntu, virtual-machine     No comments   

Issue

I just spun up a new Azure VM from the portal. I want to find the FQDN of the said portal so that I can connect to it via SSH, using this scheme: ssh username@FQDN -p 22 Can anyone tell me where to look? I've spent many hours trying to do this, but to no avail.


Solution

For you to get your FQDN on azure you should execute on Linux:

hostname -f

this will give you the name of the machine to see how you connect to the machine you need to be inside the same network. or if you are outside the network you need to look at the IP of the machine, not the machine FQDN and on the IP of the machine, you can see the DNS settings. to verify what are the IPs that you have if you are using version 2 you can go to this URL: https://portal.azure.com/?l=en#blade/HubsExtension/BrowseResourceBlade/resourceType/Microsoft.Network%2FPublicIpAddresses/scope/



Answered By - Gabriel Monteiro Nepomuceno
Answer Checked By - David Goodson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing