Solved

Windows Server 2012 R2 Firewall

Posted on 2016-08-31
12
21 Views
Last Modified: 2016-10-06
I have two servers set up for a dev environment, one will run code and the other will be dedicated DB. I have both servers running but I cannot get the dev server connected to the DB server over port 1433. I have set an allow rule on the db server for the connection over 1433, binding it to the public IP address of the dev server, but when I attempt a telnet from the dev server to the db server the connection fails.

There are no firewalls in play here other than Windows Firewall. I am not extremely with windows firewall configurations so I feel like I am overlooking a step somewhere.

I need help establishing the rule needed to allow communication between the two servers, through the windows firewall, over port 1433.
0
Comment
Question by:gacto
  • 7
  • 5
12 Comments
 
LVL 12

Expert Comment

by:Bryant Schaper
ID: 41778479
open 1434 as well
0
 

Author Comment

by:gacto
ID: 41778496
i have added 1434 to the inbound rule on the db server and still cannot telnet in from the dev server.
0
 
LVL 12

Expert Comment

by:Bryant Schaper
ID: 41778688
you mean telnet just to confirm the port it open or actually telnet to the server?
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Author Comment

by:gacto
ID: 41778862
yes i am using telnet just to confirm the port is open. my actual connection will be through code in our API layer.
0
 
LVL 12

Expert Comment

by:Bryant Schaper
ID: 41778893
So you have inbound TCP 1433-1434 open and still no luck?

Let's rule out which end, disable the firewall and test, also try management studio.
0
 

Author Comment

by:gacto
ID: 41778922
ok your comment made me think of something i had not done. i had not configured tcp/ip for sql so i have updated that thru configuration manager and gotten tcp/ip enabled.

i turned off the firewall on the db server and tried to telnet over port 1433, but still no luck.

next i turned off the firewall on the dev server (at this point the firewall on both servers are off) and tried to telnet over port 1433, still no luck.

i am able to connect FROM the db server TO the dev server over port 80 without any problem. so there is definitely connectivity between the servers.
0
 
LVL 12

Expert Comment

by:Bryant Schaper
ID: 41778945
is their a firewall between, and we are connecting with IP, not named pipes?
0
 

Author Comment

by:gacto
ID: 41778959
there is no firewall in between, actually let me clarify. these are GoDaddy VPS machines that i have just set up. i have not set up a firewall on the devices because they r only for dev so we will be tearing them down and rebuilding quite frequently. based on the information i have been provided by GoDaddy, and from the documentation they have on their site, they do not have firewalls in place by default that restricts traffic to or from the machines. so i guess my answer should be that to the best of my knowledge there is no firewall.

i am using IP for the connection, not named pipes. both of the servers have both a public and private IP. i have tried both and the results are the same.
0
 
LVL 12

Expert Comment

by:Bryant Schaper
ID: 41778966
0
 

Author Comment

by:gacto
ID: 41779077
I am checking this now but so far I cannot access the simple control panel from either the dev or db server. If I can access this control panel, hopefully I will be able to resolve the problem.
0
 

Accepted Solution

by:
gacto earned 0 total points
ID: 41788653
Bryant - Ok it has taken me several days but I have finally resolved the issue. Unfortunately I cannot tell you what actually worked.

I finally had to get on a support session with GoDaddy, they were adamant there is no other firewall in place which could be blocking this connection. However, after about an hour of troubleshooting, the connection starts working. They cannot offer any explanation why. I believe there had to be a bug in the network connection there that one of the technicians resolved, maybe even unknowingly. In any event the connection is running now.

Thanks for the effort and troubleshooting tips. Hopefully the connection will stay up and I won't have this problem anymore.
0
 

Author Closing Comment

by:gacto
ID: 41831376
this had to be an internal firewall issue with GoDaddy.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question