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

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠