How to expose my localhost to the WWW? (port forwarding?) [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I am running Apache/php on my localhost and would like to be able to make this publicly accessible from the internet. I think this is achieved by port forwarding? Can someone point me in the right direction? 回答1: It depends on the connection you have. If your machine has a public IP address, it's on the Internet