5/2/2024 0 Comments Redirect ip to localhost macI thought to run this, but it didn't work. I read about pf and pfctl, but could not make this work. Not sure why I had to take this mysterious detour - probably something local to my machine, but if you're having trouble after following the guide above, see if it helps. I want to redirect all requests to 10.20.154.24:1111 made from my computer go to localhost:8080. The connection will then be tunneled back to the client host, and the client then makes a TCP connection to port 80 on localhost. Just to be clear, leave the original file where it is, untouched and unharmed throughout this step. After which, I was able to delete the duplicated file and everything now works without issue. What I did was duplicate that file in the same folder and changed the duplicate's name to 'index.html', leaving the original in situ.īoth local and user sites then loaded. Leverage LocalXposes convenient built-in plugins, including request rate limiter. This contains the text "It works!" referred to in the post. Manage permissions with IP, basic auth, Key auth. However, if, like me, you still can't get the local host site to load, try the following: You should find a file at /Library/WebServer/Documents/. I tried logging out and back in (still no joy), then restarting the mac (still no joy). Just a note, in case anyone has the same issue.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |