Skip to content
Home » Easy Local File Sharing from Your Mac

Easy Local File Sharing from Your Mac

Sharing your files locally from any folder on your Mac is simple. Just follow these steps:

  • Open the terminal within the folder you want to share.
  • Type the command:
python3 -m http.server 9000 
  • You can replace 9000 with any other port of your choice.
  • Find your local IP address for the connected network. For instance, your IP might be You can easily find your address by checking your Wi-Fi settings under ‘Details’. Alternatively, use the command: ipconfig getifaddr en0
  • That’s it! Your setup is ready. Now, simply browse or replace 9000 with your chosen port.

This quick method allows hassle-free sharing of files through your local network.

My Suggestions:

  • Create a folder like the one I created named ‘sharables’. Share your files from this one.
  • Better to avoid 80, 443 and any other widely used ports. You know why.
  • If you have ngrok installed , you know the rest. Just open a new terminal and type ngrok http 9000. See the magic. You are sharing globally.

Leave a Reply

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