Solved

Windows Server 2012 R2 Firewall

Posted on 2016-08-31
12
31 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

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.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

734 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