How can I port forward locally on windows?

  • Page Owner: Not Set
  • Last Reviewed: 2019-06-25

How can I port forward to solr on 8983 and 8984? Some sites are different and I don't want to change the config.


Answer

  • Open a command line in administrator mode.

  • type netsh.

  • Once the shell initializes type the following

      interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=8984 connectaddress=127.0.0.1 connectport=8983
    

This will now act as a proxy to enable solr to function on two ports.