Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a couple of servers in amazon EC2

  • One server is a Windows Server 2012, is used to host a web application, there is an elastic ip address attached to this server.
  • The second server is a linux server, to host the database, this server do not have a public ip address, this database server only listen using private network interface.

I need to expose the database server through web server, I mean, I like to connect to a particular port in windows server and create a port forwarding to reach linux server.

I tried to use this command:

netsh interface portproxy add v4tov4 listenaddress= listenport=4638
connectaddress= connectport=3306

Locally, in windows server, I cant connect to mysql server using the windows server private address and port 4638, I can run queries without problems.

The problem is when I try to connect using the attached elastic ip address, I cannot reach mysql server, the port 4638 is opened in the Windows server security group.

Thanks for your help.

share|improve this question

Have you disabled IPv6?

If yes, re installing it might work.

Try running wireshark on Win server to see what happens with those packets.

share|improve this answer
This answer is for Windows XP, the servers are running windows server 2012 – VictorV Aug 6 '14 at 0:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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