Can't connect to SQL Server 2014 Express AMI

0

Hello,

When I use the RDP session I only see one Command Prompt window. I don't see a Windows UI. Is this AMI bad?

Additionally, I'm trying to remotely connect to the SQL Server that is provided by this AMI. I have all ports inbound ports open but I can't figure out how to remotely connect and configure it. I can connect to it locally in the RDP session.

Is there a default port for this SQL instance?

https://aws.amazon.com/marketplace/pp/B00KQP3H7W?qid=1550514839796&sr=0-8&ref_=srh_res_product_title#pdp-support

Thanks!

Zach

已提问 5 年前211 查看次数
3 回答
0
已接受的回答

The AMI contains Windows Server Core Install : https://msdn.microsoft.com/en-us/library/hh846323(v=vs.85).aspx, so seeing only Command Prompt is expected.

By default the network services are disabled on SQL Server. Need to restart network services to be able to reach SQL Server (port 1443) from outside server.

Following is the way to enable the networking service:

  1. Use netstat -a -b to verify port 1433 is not LISTENING
  2. Run C:\Windows\SysWOW64\SQLServerManager12.msc from cmd.exe to open SQL Server 2014 Configuration Manager
  3. Follow Steps in Microsoft Article https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/enable-or-disable-a-server-network-protocol?view=sql-server-2017 to check the network status, enable, and restart SQL Server
  4. After SQL Server restart, check for port status using netstat -a -b
  5. Should be able to connect from other servers after that, off course assuming the port is allowed.

Hope this helps.

vinjak
已回答 5 年前
0

Perfect response! Thank you so much. That's very helpful.

已回答 5 年前
0

Is there a set of default credentials for remote server management?

I can telnet to the port 1433 and that responds so I know the server is running. I'm not able to figure out the default credentials using the remote management server tool so I can't log in to begin adding databases, etc.

已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则