Difference between revisions of "Socat"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
  
  
'''Forward''' port 80 to localhost:8090
+
'''Forward''' port 80 to localhost:8090 <ref>https://unix.stackexchange.com/a/293308</ref>
 
* <code>socat TCP-LISTEN:80,fork TCP:127.0.0.1:8090</code>
 
* <code>socat TCP-LISTEN:80,fork TCP:127.0.0.1:8090</code>
 
* <code>socat TCP-LISTEN:80,fork,reuseaddr TCP:127.0.0.1:8090</code>
 
* <code>socat TCP-LISTEN:80,fork,reuseaddr TCP:127.0.0.1:8090</code>

Revision as of 04:15, 13 May 2020


Forward port 80 to localhost:8090 [1]

  • socat TCP-LISTEN:80,fork TCP:127.0.0.1:8090
  • socat TCP-LISTEN:80,fork,reuseaddr TCP:127.0.0.1:8090


See also

  • https://unix.stackexchange.com/a/293308
  • Advertising: