Comments on Use libc wrapper library to change bind port

  1. 在树莓派上试
    BIND_ADDR=”192.168.137.18″ BIND_PORT=8080 BIND_TYPE=TCP EXCLUDE_PORTS=80 LD_PRELOAD=bind.so /usr/local/nginx/sbin/nginx

    ERROR: ld.so: object ‘bind.so’ from LD_PRELOAD cannot be preloaded: ignored.

Leave a Comment

Your email address will not be published. Required fields are marked *

*