It may appear like a really dumb question but

why can't I remotely connect to my server when it's connected to the WAN port of the router?

It was working when the server was connected through any other LAN port. (I could connect just by opening the Remote Desktop Connection software and putting 'server' as computer name)

EDIT: Oh and before changing ports I did change the properties of a connection to share it over the network (through the router)

  • Is this a consumer router? The "WAN" port is usually not a switched connection, so you'll need to make considerations for routing (making sure it's allowed), addressing (using a different subnet for the WAN link, making sure the server and router both have addresses on that subnet) and potentially NAT. – Shane Madden Jan 19 '12 at 22:39
  • @ShaneMadden I don't know what exactly is a consuming router (even though I googled it), it's a TP-LINK 300M Wireless N Router Model No. TL-WR941N / TL-WR941ND. I'll try the subnet thing. EDIT: When I try to put the wan ip and lan ip on the same subnet it says: WAN IP address and LAN IP address cannot be in a same subnet. Please input another IP address. – Kale Bamman Jan 19 '12 at 22:49
  • Right - it's a routed interface, so they'd need different subnets. – Shane Madden Jan 19 '12 at 22:59

I'm confused what you are trying to achieve - the WAN port should be connected to your WAN connection i.e. something that connects to the internet.

Everything else should be on your LAN ports, or on switches connected to these.

If you are just testing something out, then you could give your server a static address on a subnet different to your internal one, then set a static ip address on your router in the same subnet as the server, e.g.:

Lets say your router's internal address is, subnet mask, this means your local subnet is (as well as the reserved addresses and

You could then set your server with static ip subnet mask and your router's WAN interface to have static ip subnet mask, then from your internal network you should be able to access to get to your server.

The only real reason I can think to do so is if you have multiple WAN ip's and you wish to have your server on one of these so it can be accessed externally, but I would strongly advise you to have your server internal and set up relevant port forwarding instead.

  • Actually I'm doing this because I have 2 internet connections. I connected the 2 internet connections to a PC (windows server 2003) and the PC to the WAN port of the router. Like that I can easily switch between th 2 connections. To set up these connection I did all the config stuff through Remote Access (when the server was connected though LAN) and it bugged when I activated connection sharing property. Then I switched the server connection port from LAN to WAN to give internet to the router. And now I can actually access the web ser though my browser but can't connect through remote access. – Kale Bamman Jan 20 '12 at 0:11
  • And I tried changing IPs (new comment due to character restriction) – Kale Bamman Jan 20 '12 at 0:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.