Connecting to Azure Virtual Machine with local SSMS

There is a lot of info out there about this and how to troubleshoot.  I am still not able to do this.  When I try to connect on port 1433 I get a "filtered" response (no connection).
I have verified all the setup and had someone else also verify it.
I have a Server 2012 VM that I installed SQL on myself (SQL Server 2012 Standard)
By the way, I can RDP just fine, I can do a Web Publish just fine.  It is just being about to connect SSMS that I am having issues with.
Confirmed according to several online resources including MS Azure docs.:
1) Azure Endpoint is set up 1433
2) Firewall on the VM has an inbound rule for 1433.  ** Note, I even tried to connect with the VM firewall turned off.
3) SQL Server network configuration is set up correctly (listening on port 1433 is confirmed)
4) SQL server is set to mix mode authentication
5) I can connect locally on the VM with SSMS using a the same SQL account.
6) SQL Server has "Allow remote connections to this server" turned on.
I have tried to connect from 2 different local networks.  Both of these have access to multiple other VM's (not Azure) and connect fine.  It is not my local firewalls blocking this.  It is not the VM firewall (turned it off!), so my only guess
is that it is the Azure Endpoint.
I did find references to Azure blocking 1433, but that seems to have been reversed.  I did try a different public port and that did not help.
Again, I have found several different help guides for this, every detail I have checked seems to be set up correctly.
Any thoughts?

Update as promised.
I just went ahead and created a new VM.  All is good!!!!
Server 2012 (Datacenter)
Downloaded and installed SQL Server 2012 Standard (Basic install only need the DB engine)
Configured for mixed mode, etc.  (I did not need to change anything after the install was done)
Opened endpoints and VM firewall ports
Tested and worked as expected
Then went ahead and installed IIS, Web Deploy and updates.
All is working as expected.  Not sure what I messed up the first go around.
If anyone comes across this and the docs don't help, just try to set up a new VM (either SQL or Server and install SQL).

Similar Messages

  • Not able to connect Azure Linux Virtual Machine with Putty

    Hi,
    I am not bale to connect Azure Linux Virtual Machine with Putty... Error shows "Network error: connection timed out".
    Please help.
    Thanks,
    Techsol
    Thanks, Kk

    Hi TechSol01,
    Thanks for posting here.
    I suggest you to try the below steps
    On a computer running a Windows operating system, you might want to use an SSH client such as PuTTY. For more information, see the
    PuTTY Download Page.
    On a computer running a Linux operating system, you might want to use an SSH client such as OpenSSH. For more information, see
    OpenSSH.
    If it is the endpoint configuration, you can go to the portal and add port 22, (it should already be there by default). 
    Now if it is locked out of the VM because of the firewall on the VM, which is called iptables , You won't be able to connect to the VM,
    If you haven’t configured the port 22. You may have to follow the below steps :
    A = Original VM (Inaccessible VM)
    B = New VM (New Temp VM)
    1)  Stop VM  A via the Azure management portal
    2) Delete VM A BUT select “keep the attached disks”
    3) Once the lease is cleared, attach the Data Disk from A to VM B via the Azure Portal, Virtual Machines, Select “B”, Attach Disk
    4) On VM “B” eventually the disk will attach and you can then mount it.
    5) Locate the drive name to mount, on VM “B” look in relevant log file note each linux is slightly different.
    grep SCSI /var/log/kern.log (ubuntu)
    grep SCSI /var/log/messages (centos, suse, oracle)
    6) Mount the attached disk onto mountpoint /tempmount
    df -h
    mkdir /tempmount
    mount /dev/sdc1 /tempmount
    df –h
    7) Now you should be able to clear the rules set from the configuration file of the firewall, by accessing it
    through /tempmount
    Let me know if this works
    Girish Prajwal

  • SQL Azure with Azure Virtual Machine inside Virtual Network - How to connect

    Hi Team,
    I have one typical scenario where there is one Windows Application I wan to run from my Windows Azure Virtual Machine which is inside Azure Virtual Network (which has its DNS and ADFS and etc..)
    Because its Virtual Network, We can't access internet within that network, apparently Virtual Machine can't access SQL Azure. So, How would we resolve this scenario.
    Application is running great from my local system so, its accessing SQL Azure Database from my system. So, Application or SQL Azure or connection or such areas has no issue.
    Regards, Brijesh Shah

    Hi Brij,
    Thanks for your reply.
    To add a DNS server in an Azure Virtual network, you can refer to the link below:
    http://msdn.microsoft.com/en-us/library/azure/dn275925.aspx
    To obtain a public Azure-provided DNS server IP addresss, you can run "ipconfig/all" in another Azure VM which is not a virtual network which has DNS server defined. After you add a DNS server in the virtual network that VM belongs to, please restart
    the VM to update the change.
    However, since you mentioned that you are using a customed domain, I am not quite sure if any other configuration should be done for your domain.
    Best regards,
    Susie

  • Our HDB tool  just stopped connecting to the Azure virtual machine

    Our HDB tool just stopped connecting to the Azure virtual machine while it is working fine on AWS. The error we are getting is:
    "HDB -system state cannot be determined. Database connection is not available."
    Any suggestions/comments from the community?
    Thank you
    Koushik

    Update as promised.
    I just went ahead and created a new VM.  All is good!!!!
    Server 2012 (Datacenter)
    Downloaded and installed SQL Server 2012 Standard (Basic install only need the DB engine)
    Configured for mixed mode, etc.  (I did not need to change anything after the install was done)
    Opened endpoints and VM firewall ports
    Tested and worked as expected
    Then went ahead and installed IIS, Web Deploy and updates.
    All is working as expected.  Not sure what I messed up the first go around.
    If anyone comes across this and the docs don't help, just try to set up a new VM (either SQL or Server and install SQL).

  • Link remoteapp with azure virtual machine

    I am running remoteapps. How do i connect the applications to retrieve databse from aa Azure virtual machine?
    Please help!

    Hi,
    To allow applications, that you publish through Azure Remote App, to be able to connect to backend servers running in Azure IaaS, the Azure RemoteApp vnet and the Azure IaaS vnet need to be connected. The following guide might be helpful here:
    How to link Azure RemoteApp to an existing VNET
    Kind regards,
    Freek Berson
    The Microsoft Platform
    Twitter
    Linked-in
    Wortell company website

  • Virtual Machine with SQL vs. Azure SQL?

    One thing I cannot find a clear answer too is what are the differences and pros/cons between creating a Web or Business SQL Database on the Azure, compared with creating a Virtual Machine on Azure that has SQL installed on it?
    I think I read that VM's don't have static IP's and can randomly restart etc... so are not good for databases or websites, but if that is the case what's the point?
    I am wondering if anyone has a larger project and more experience with Azure and can lend some advice and knowledge as to the difference between both approaches. One being to create a Website and SQL service on Azure for the website and the database, compared
    with creating a single machine and installing IIS and SQL and running it like a conventional web server.
    Which method is more scalable? Also, I believe the VM would be much quicker for data access as it's on the same physical machine as the server, compared with how slow Azure seems to be when an Azure website communicates with an Azure Database.

     what are the differences and pros/cons between creating a Web or Business SQL Database on the Azure, compared with creating a Virtual Machine on Azure that has SQL installed on it?
    Hello,
    Windows Azure SQL Database and SQL Server on Windows Azure VM are optimized for different purposes. For example, SQL Database is optimized to reduce costs to the minimum amount possible,remove the security risks and hassles. But SQL Database operates across
    shared resources so that customers cannot control CPUs or memory.
    When choosing SQL Server running in a Windows Azure VM, SQL Server can best compatibility with existing applications. And we can get best vertical scalability and better performance.
    As for Widows Azure Web Site deployment, I'm not familiar with the website developement, I suggestion you post the question in
    this forum.It is appropriate and more experts will assist you.
    Reference:
    Data Series: SQL Server in Windows Azure Virtual Machine vs. SQL Database 
    Choosing between SQL Server in Windows Azure VM & Windows Azure SQL Database
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Forgot Azure Virtual Machine Password

    Hi Team,
    I have forgot the Azure VM password and unable to connect the machine through RDP. Please help me so that I can connect with my VM. This is an urgent issue please help me. Thanks in Advance.

    Hi,
    You can follow these steps to reset the existing built-in local Admin credentials on Microsoft Azure virtual machines using Windows PowerShell and the Microsoft Azure PowerShell Module.  Note that this process will also ensure that Remote Desktop is enabled
    within the Microsoft Azure VM.
    >>In the Windows PowerShell ISE window, run the following PowerShell cmdlet to confirm the name of your Microsoft Azure subscriptions (if you have more than one subscription).
    Get-AzureSubscription | Format-Table –Property SubscriptionName 
    You’ll be specifying the name of your selected subscription in the next step.
    >>In the Windows PowerShell ISE window, run the following PowerShell cmdlets to select your Microsoft Azure subscription (if you have more than one subscription).
    $subscription = “ENTER YOUR SUBSCRIPTION NAME HERE” 
    Select-AzureSubscription –Default $subscription
    >>In the Windows PowerShell ISE window, run the following snippet to prompt for the credentials to which you’d like to reset the existing built-in local Admin user account inside the virtual machine.
    $adminCredentials = Get-Credential -Message "Enter new Admin credentials"
    If the existing built-in local Admin username is input, the snippet below will reset that account to use the specified password.  If a new username is input, the snippet below will also rename the existing built-in local Admin account to match the specified
    username. 
    The password that is input when prompted above must meet password complexity requirements of at least 3 of the following: 1 UPPER case letter, 1 lower case letter, 1 number and/or 1 symbol.  Note that if the password does not meet complexity requirements,
    the snippet below will still succeed - the password complexity requirements are not checked until after the VM restarts and the VM Agent is leveraged to apply the new password.
    >>In the Windows PowerShell ISE window, run the snippet below to reset the built-in local Admin credentials for the selected Azure virtual machines.
    (Get-AzureVM) | 
    Where-Object -Property Status -EQ "ReadyRole" |
    Select-Object -Property Name, ServiceName |
    Out-GridView -Title "Select a VM …" -PassThru |
    ForEach-Object {
        $VM = Get-AzureVM -Name $_.Name -ServiceName $_.ServiceName
        If ($VM.VM.ProvisionGuestAgent) {
            Set-AzureVMAccessExtension -VM $VM `
                -UserName $adminCredentials.UserName `
                -Password $adminCredentials.GetNetworkCredential().Password `
                -ReferenceName "VMAccessAgent" | 
            Update-AzureVM
            Restart-AzureVM -ServiceName $VM.ServiceName -Name $VM.Name
        } else {
            Write-Output "$($VM.Name): VM Agent Not Installed"
    Let’s look at each line from the snippet above in a bit more detail …
    First, Get-AzureVM is used to enumerate the existing VM’s that are provisioned in the selected Microsoft Azure subscription. We can only reset the built-in local Admin credentials on Running VM’s, so we pass this output to a Where-Object filter to return just
    the list of VM’s that are currently in a ReadyRole state.
    We pipe this filtered list of running VM’s to the Out-GridView cmdlet. This cmdlet prompts to select the VM’s for which the built-in local Admin credentials should be reset.
    Finally, the selected VM’s are piped into a ForEach-Object block that resets the built-in local Admin credentials for each selected VM using the Set-AzureVMAccessExtension cmdlet. This block also restarts each selected VM using the Restart-AzureVM cmdlet, so
    that this change is processed.
    Hope this helps !
    Regards,
    Sowmya

  • How many concurrent users are allowed for an Azure Virtual Machine?

    How many concurrent users are allowed for an Azure Virtual Machine?
    Please share the details with the Azure VM size. Currently I have Standard VM of size D13(4 cores, 28GB RAM)

    Hi SanPSK,
    Thanks for posting here.
    I suggest you to check this article for Azure VM size
    https://msdn.microsoft.com/en-us/library/azure/dn197896.aspx
    For the concurrent users on VM - A maximum of 2 concurrent connections are supported, unless the server is configured as a Remote Desktop Services session host.
    Girish Prajwal

  • BadRequest: Virtual machines with secondary network interfaces and virtual machines with no secondary network

    I'm trying to create an "ExtraLarge" VM with multiple NICs.  The New-AzureVM returns the following error:
    BadRequest: Virtual machines with secondary network interfaces and virtual machines with no secondary network
    interfaces are not supported in the same deployment, also a virtual machine having no secondary network interfaces
    cannot be updated to have secondary network interfaces and vice-versa.
    But I have no other VMs.  Or at least I did and then deleted them and all their disks.  The service has no deployments (either staging or production).
    Why is New-AzureVM complaining about a mismatch of VMs with and without secondary network interfaces when no other VMs exist?
    I have tried many things to fix this, including the deletion of ALL of my resources.  I have deleted and created the service many times, both with an affinity group and without.  I have a screen print of the -debug output if your interested.
    Thanks for the outstanding help.

    Hi Ron,
    IMPORTANT NOTE: Please do not post the CONFIDENTIAL DETAILS ever on the public forums, this is HIGH RISK action.
    Please send an email with your contact details to my email
    [email protected] so that I guide you on steps which help you come out of the current scenario. Thank you for understanding.
    I suggest you to create a new VNET and new VM with cloud services. Create Multiple NIC VM. Let us know the results.
    Ref:
    http://azure.microsoft.com/blog/2014/10/30/multiple-vm-nics-and-network-virtual-appliances-in-azure/
    http://blogs.technet.com/b/canitpro/archive/2014/11/04/step-by-step-create-a-vm-with-multiple-nics-in-azure.aspx
    If you are unable to create a VM with multiple NIC, please open a support case as it requires more confidential information which is out of scope of FORUM support offerings.
    Regards,
    Girish

  • SQL Server Business intelligence edition on Azure Virtual Machine

    Hello, Does anyone know when can a virtual machine with the SQL Server Business Intelligence Edition will be available? (it's that edition that I'm interested in, not standard, web or Enterprise that are the current editions available) , also In
    that moment will that SQL BI edition be available using SPLA SAL License as well?
    Regards
    GRR

    Hi,
    It seems that some features of SQL server BI Features are installed on the SQL Server Virtual Machine Gallery Images. For more detailed information, please refer to the link below:
    SQL Server Business Intelligence in Windows Azure Virtual Machines
    Best regards,
    Susie

  • Is it possible to install SharePoint 2013 and SQL 2012 on single Azure Virtual Machine

    I had a Azure subscription, I need had created only one Virtual Machine, is it possible to install SharePoint 2013 and SQL Server 2012 on that single virtual machine in azure.
    I had SharePoint 2013 and SQL Server 2012 licence from MSDN subscription,
    Finally on Azure virtual machine is it possible to Install SharePoint 2013 and SQL server by downloading these software from MSDN. 

    Hi,
    It is supported to install sharepoint 2013 and SQL server on the same server. However, please check the size of your Azure VM and make sure it is compatible for that.
    The minimum recommended size for a virtual machine is A3 when using SQL Server Enterprise Edition. Select A3 or higher when using SQL Server Enterprise Edition. Select A4 when using SQL Server 2012 or 2014 Enterprise Optimized for Transactional Workloads
    images. Select A7 when using SQL Server 2012 or 2014 Enterprise Optimized for Data Warehousing Workloads images. In addition, the default size for SharePoint 2013 image is A3.
    In addition, as a best practice, you can install them in different servers and then deploy SharePoint 2013 with SQL Server AlwaysOn Availability Groups in Azure:
    Deploying SharePoint 2013 with SQL Server AlwaysOn Availability Groups in Azure
    http://msdn.microsoft.com/en-us/library/azure/dn275959.aspx
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • VMM is unable to perform this operation without a connection to a Virtual Machine Manager management server.

    Hi,
    I'm running SCOM and VMM integration. For the most part everything is working. However I get lots of alerts generated in regards to my scvmm server.
    This is a the guide I used:
    https://technet.microsoft.com/en-ca/library/hh882396.aspx
    SCOM + VMM 2012r2 Ur4
    One of the Errors(which appears to be root issue):
    The PowerShell script failed with below
    exception
    System.Management.Automation.CmdletInvocationException: VMM is
    unable to perform this operation without a connection to a Virtual Machine
    Manager management server. (Error ID: 1615)
    Use the Get-VMMServer cmdlet
    or the -VMMServer parameter to connect to a Virtual Machine Manager management
    server. For more information, type at the command prompt: Get-Help Get-VMMServer
    -detailed.At line:109 char:12
    + $vmm = Get-SCVMMServer $VMMServer -Credential
    $cred;
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    at
    System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object
    input, Hashtable errorResults, Boolean enumerate)
    at
    System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean
    ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[]
    pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext
    funcContext)
    at
    System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame
    frame)
    at
    System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
    frame)
    at
    System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
    frame)
    Script Name:
    GetStorageSubsystemPerfScript
    One or more workflows were affected by
    this.
    Workflow name:
    Microsoft.SystemCenter.Advisor.StorageSubsystem.Performance.PerfCollection
    Instance
    name: SCVMM01.Domain.com
    Instance ID:
    {B5175EAC-D64D-2553-D567-F19B5C864BBD}
    Management group: OMGRP82

    Can you connect from powershell? get-vmmserver <VMMServerComputerName>
    If this doesn't work it's likely that your VMM server doesn't work. Check Application log to see if there are errors related to VMM service.
    You can also collect traces as described
    here and attach them to this thread.
    Are you using a domain administrator account?  (this is the default allowed after SCVMM is installed - until other users are added).
    also try restarting VMM server or VMM services once.
    this occur if the SQL database owner is indicated as NULL.  Try adding the SQL SA account as db owner.
    refer this once -
    https://social.technet.microsoft.com/Forums/en-US/a4199cb2-ccbf-4bb0-96c1-7a640143f81b/error-id-1615-vmm-is-unable-to-perform-this-operation?forum=virtualmachingmgrhyperv
    Thanks, S K Agrawal

  • Can i install VS 2013 in my Virtual Machine with Windows 8.1 and work for Mobile Development,Mobile Emulator can work in my Virtual Machine ?

    I have a Virtual Machine with Windows 8.1 OS and 4gb RAM, 200gb Disk.
    I want to develop apps for Windows Mobile 8.1 with VS 2013 Update 4, Mobile Emulators can work in my Virtual Machine, bcz i am getting bellow error.
    Windows Phone Emulator is unable to verify that the virtual machine is running:
    Something happend while starting a virtual machine:'Emulator 8.1 WVGA 4 inch 512MB.APPUSER' failed to start.(Virtual machine ID xxxxxx-xxxxx-xxxx-xxxx-xxxxxxx)
    The Virtual Machine Management Service failed to start the virtual machine 'Emulator 8.1 WVGA 4inch 512MB.appuser' because one of the Hyper-V components is not running (Virtual machine ID xxxx-xxxxx-xxxx-xxxx-xxxx).

    No you cannot do that.  You need a physical machine that supports Hyper-V
    Jeff Sanders (MSFT)
    @jsandersrocks - Windows Store Developer Solutions
    @WSDevSol
    Getting Started With Windows Azure Mobile Services development?
    Click here
    Getting Started With Windows Phone or Store app development?
    Click here
    My Team Blog: Windows Store & Phone Developer Solutions
    My Blog: Http Client Protocol Issues (and other fun stuff I support)

  • Since upgrading to Lion USB devices no longer connect to my virtual machine in parallels despite my parallels settings.

    Since upgrading to Lion USB devices no longer connect to my virtual machine in parallels despite my parallels settings. As a result all usb devices show as networked drives from the mac. Therefore cannor access encrypted part of drive. Any ideas???

    I actually have the same problem, since I upgraded to Mavericks my MacBook Pro can't seem to find the Bose sounddock 10. Has anyone found a solution to this.
    It still works with the iPhone 5
    Thank you

  • MSDN Checkbox in Azure Virtual Machine Gallery disabled

    Dear all,
    In Azure Virtual Machine Gallery the MSDN checkbox remains disabled although I successfully linked a Visual Studio Online account with an active MSDN subscription (VS Premium), both referring to the same login/administrator account.
    So I am not able to add a VS 2013 Premium virtual machine in Azure.
    Have I missed something?
    Thanks for your help,
    Denis

    Hi,
     Thanks for posting.
     Have you tried switching subscription to the VS Premium with MSDN
    Refer to the following thread.
     http://social.msdn.microsoft.com/Forums/en-US/cdb13f71-7aff-4eb2-8265-d85b00d6215e/msdn-gallery-virtual-machines-check-box-grayed-out?forum=windowsazurepurchasing
    Managing multiple subscriptions in Windows Azure
     http://bjorneriksen.blogspot.in/2013/09/managing-multiple-subscriptions-in.html
    Let us know if this helped.
    Regards,
    Nithin.Rathnakar

Maybe you are looking for