sockets - Redirect port on Windows from loopback to outside -


i have socket listen on port 6100 on development machine, lan address 192.168.1.2

i can access socket , use address 127.0.0.1:6100, can't access 192.168.1.2:6100 (i need access socket client on lan)

if type netstat -an | find "6100" on command prompt get:

tcp 127.0.0.1:6100 0.0.0.0:0 listening

so need redirect calls 192.168.1.2:a_random_port 127.0.0.1:6100

how can that?

i tried with:

netsh interface portproxy add v4tov4 listenport=6200 listenaddress=192.168.1.2 connectport=6100 connectaddress=127.0.0.1

but without luck

i've been able accomplish task, using external tool.

i downloaded "passport port forwarding utility" , set redirection 192.168.1.2 127.0.0.1

unfortunately haven't been able without external tool.


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -