...I tried to connect my friend laptop to The LAN and I run HFS on his Laptop I also tried to connect to HFS from my mobile phone it worked fine so the problem is with my Laptop!...
Currently, most anti-virus (including the built in) works to make sure that software applications don't do server functions. Especially, if you have a security-suite added to your laptop, then you need to find its whitelist/allow function.
Use an ethernet cable, because good WiFi power management can go unresponsive to incoming requests (depending on brand and settings of the laptop's wifi).
In HFS, make sure that the ip address at the top of the HFS screen is the same as PC's LAN address. Although localhost 127.0.0.1 may (or may not) work, the router's external address can't (because forward to itself isn't useful). Use the PC's LAN address (either fixed/stationary or "static dhcp" at the router).
One of my PC's doesn't work via localhost, so it is necessary to use the PC's LAN address in that case.
Find the right address:
Windows start menu > cmd (type cmd with keyboard) > ipconfig (type ipconfig then use enter key)
And, put that address in HFS.
P.S.
Just in case previous efforts have confused it, try HFS Menu > Save options > Clear options and quit. That should clean out previous efforts.
After best effort, if HFS won't stay fastened to the PC's LAN address, write back and let us know--there are some workarounds which shouldn't be the first things to try. Alternatively, set it on the correct address, save settings to file, and then start the WatchCat script. If it was working when the script was started, then it should stay working while the script is running. Also, if the server gets stuck, the WatchCat will bring it back up in a minute (adjustable).
I have a lot of work delayed because of this problem
If you needed a practice web server at a college, university, business, hotel, coffee-shop, then client-isolation prevents it.
The classic fix is the "travel router" made to get your wireless printer working with your wireless laptop, at the hotel. Travel router and dd-wrt can use hotel wifi as the WAN input and then make your own new wifi LAN. Some travel routers can even VPN tunnel to secure the connection.
Another way is to add an additional USB WiFi to a Windows 10 laptop, and just use the "Mobile Hotspot" feature, to share the inbuilt wifi with the usb wifi (so you can connect your other devices to your own new wifi LAN) identically to a travel router.
However, client isolation probably doesn't explain why your laptop didn't connect but your friend's laptop did. . . unless your laptop is on college wifi versus your friend's laptop on home wifi (or travel router). So, a different location/WiFi, which doesn't have client-isolation, could make the difference