2

I have an application that exposes Web Services on the loopback address 127.0.0.1:5003 so they are only available to the localhost. Is it possible to redirect traffic from there to the external interface so I can call the Web Services from other PCs on the network? I'm pretty sure this can be done by playing with the IP tables in Linux but I'm using windows 7.

Thanks in advance!

lachs
  • 141
  • 1
  • 4

1 Answers1

0

Maybe this will work?

netsh interface portproxy add v4tov4 listenport=5003 connectaddress=127.0.0.1 connectport=5003 listenaddress=0.0.0.0 protocol=tcp

Otherwise try one of the options listed as answers to the question found here:
Easy TCP proxy on Windows?

hookenz
  • 14,472
  • 23
  • 88
  • 143
  • Just to be sure before I try, can I remove this by just replacing the 'add' in the netsh command with 'remove'? – lachs Mar 31 '15 at 07:23
  • you'd use 'netsh delete' not remove – hookenz Mar 31 '15 at 07:31
  • That didn't work, still unable to connect from the external interface although I can still connect from the loopback address. Thanks for trying anyway mate. – lachs Mar 31 '15 at 23:05
  • @lachs You'll also need to unblock the firewall to allow access to 5003 if your firewall is enabled which it is by default! – hookenz Mar 31 '15 at 23:19