xpf0000 / PhpWebStudy

Powerful Web Server and PHP Environment. Support macOS / Windows / Linux
https://www.macphpstudy.com
BSD 3-Clause "New" or "Revised" License
623 stars 53 forks source link

[BUG] Http Serve module was error working. #76

Closed dcto closed 4 months ago

dcto commented 6 months ago

Http Serve module, i'll get an http ip with port it's

http://localhost:61879/ http://10.11.162.228:61879/

But when open this url in web browser get wrong web site. always redirect to noratel.com content

image image image image
xpf0000 commented 6 months ago

This function simply uses the nodejs http module to start a web server. There is no complex logic.

This link, by default, points to index.html in the folder. You can check this by following these steps.

  1. Look at index.html in the folder. See if the correct file is loaded.

  2. use port kill in Tools. You can check the port number. See if any other web server is using it.

  3. whether the DNS has been set by yourself

  4. whether the global VPN is enabled.