There are few factors which can affect the accessibility of the site hosted on your local computer:
- Is the client machine (including your phone) in the same network as the Server (In this case your site)
- Is the firewall configured to allow connections on port 8080
- Have you tried accessing the server using the IP Address. For e.g. http://192.168.0.1:port
Steps to isolate
- Ping the server Ip from the client machine and see if it is able to connect to it.
ping 192.168.0.1
If the above fails, then I would assume that you are not on the same network. If it succeeds then check if the port is open.
You can also use nmap to see whether the ports are open or not
nmap -p 8080 kaushal.com
If the above fails, then open the port in your Firewall configuration and then try again.
Try this and share the results.