Spoof database connection to be local instead of remote

Posted by spydon on Server Fault See other posts from Server Fault or by spydon
Published on 2013-11-11T04:30:59Z Indexed on 2013/11/11 21:57 UTC
Read the original article Hit count: 136

I am trying to connect one of our clients "as is" programs to a remote database instead of a local one, they say that they have coded it to be able to do it, but for some reason the program crashes when trying to connect to a remote database. I don't have the source code so I can't really dig much deeper than that and the company does not provide any upgrades or custom modifications. I can succesfully connect to the database through SqlDbx and HeidiSQL so I know that the server is set up correctly.

This is why I need to find a way to spoof a remote connection on port 1433 to appear like a local database connection to the program. I thought about editing the hosts file, but it will most likely crash other programs if I bind localhost to another IP than 127.0.0.1.

Any ideas?

© Server Fault or respective owner

Related posts about networking

Related posts about sql-server