'Localhost IP wont work on other devices, computers, smartphones

I m new in xampp and servers, so I make one to play with wordpress and my websites work fine on my computer but other computers can see only some of them and that is partialy. (no css, images, and other parts outside of index page)

I make some test today with some simple html code with links. Made index.html page with link on it on page two.html, and that page two have photo, which is in separate folder and I open that webpage on my smartphone but image cant see.

This is code I use on page two

<!DOCTYPE html>
<html>
<body>

<h2>Two</h2>

<p>Text and image:</p>

<img src="testsite/images/image1.jpg" width="500" height="600">

</body>
</html>

Before this I was try link for image without testsite too.

This is also same on all wordpress sites, only index page open on other computers, and for one site nothing page are open.

I will not be able to open any website page if is problem with firewall? Watching some other tutorials, port80 are free to use, and this is all I know to make :)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source