Solved

Windows Server 2012 R2 Firewall

Posted on 2016-08-31
12
13 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 11

Expert Comment

by:Bryant Schaper
Comment Utility
open 1434 as well
0
 

Author Comment

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

Expert Comment

by:Bryant Schaper
Comment Utility
you mean telnet just to confirm the port it open or actually telnet to the server?
0
 

Author Comment

by:gacto
Comment Utility
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 11

Expert Comment

by:Bryant Schaper
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 11

Expert Comment

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

Author Comment

by:gacto
Comment Utility
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 11

Expert Comment

by:Bryant Schaper
Comment Utility
0
 

Author Comment

by:gacto
Comment Utility
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
Comment Utility
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
Comment Utility
this had to be an internal firewall issue with GoDaddy.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
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 restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now