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 3: Line 3:
 
'''Forward''' port 80 to localhost:8090
 
'''Forward''' port 80 to localhost:8090
 
* <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>
  
  

Revision as of 04:14, 13 May 2020


Forward port 80 to localhost:8090

  • 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

Advertising: