I have SQL Server Express installed on AWS EC2 Reserved instance, created all my database on the name instance. I can ping this remote server but my window desktop app and Management Studio from my PC cannot connect.
I did the following:
Allow remote connection to SQL Server Express (remote aws server)
Allow inbound rule for port 1433 (firewall on aws server)
All services of SQL Server for this instance are running
When I ping from my PC, I get a reply, but....
I cannot connect via Management Studio from my local PC and Visual Studio (Windows desktop app)
I telnet within the remote server itself on several ports including 1433 and got error message:
Could not open connection to the host on port : connection failed.
I telnet from my local PC, I got the same error
My security group setting is as follows:
TyPE PROTOCOL PORTRANG SOURCE
MS SQL TCP 1433 0.0.0.0/0
CUSTOM UDP RULE UDP 1434 0.0.0.0/0
RDP TCP 3389 0.0.0.0/0
ALL ICMP-IPV4 ALL N/A 0.0.0.0/0
I have followed several solutions provided on this forum for example but still on the deadlock.
Did anyone run into the same issue? And if so: how did you solve it?