0

We deployed a server application in .NET 4.0 that is going to run on Windows Server 2008 R2. Strangely, the clients cannot connect to the server given the server's IP and the server port.

I've ran wireshark diagnostics on the server computer and verified that the packets are arriving to the NIC without any issue so it seems Windows Server 2008 is the culprit here.

I've tried to temporarily disable the firewall and add the server port into inbound/outbound rule but it still doesn't solve the issue.

How can I solve this issue?

Edit: Sorry, bad choice of word. The server is not "rejecting" the packets, the server is just failing to respond.

13
  • 1
    What's the server responding with? By saying 'rejecting', you're implying that the server is responding with TCP RST packets, but is that the case? Or is it just failing to respond? Oct 25, 2012 at 4:37
  • The application opens up a TCP socket and starts listening on it. When the client tries to send a packet, the application on the server's end never gets it. But when I ran wireshark and checked the TCP stream, the content definitely arrived to the server's NIC but the OS seems to be blocking it.
    – TtT23
    Oct 25, 2012 at 4:46
  • Turn off all firewalling on the machine and see if the problem goes away. Oct 25, 2012 at 4:51
  • @DavidSchwartz I did exactly that and well, no luck D:
    – TtT23
    Oct 25, 2012 at 4:51
  • Did you check if the server is replying to the packets? Oct 25, 2012 at 5:05

1 Answer 1

1

My god, this was a pretty big gotcha for me. The server's NIC has two ip addresses and for Windows 2008, the inbound/outbound rule only applies for the IP that is closest to the default gateway.

I went ahead and made it so that the clients connect to the other server's IP and bam, everything works

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .