Quick NETSH question.

Associate
Joined
8 Mar 2004
Posts
888
Location
Leicestershire
Been banging my head against this for almost a day now with no joy :(

|'ve an app which runs on Win2k8 and listens on 127.0.0.1:119 now theres nothign in the app that will enable me to change it to listen on any int (i.e. 0.0.0.0).

Now do i need a PROXYPORT command or a NAT command in to allow this.?
I thought the following should do it but its not working-
netsh routing ip nat add portmapping name="Local Area Connection" tcp 0.0.0.0:119 127.0.0.1:119

Any thoughts please.?
 
Possible fix.?

Not sure how i missed this but how does this look.?

netsh interface portproxy add v4tov4 listenport=119 listenaddress=0.0.0.0 connectport=119 connectaddress=127.0.0.1
 
Back
Top Bottom