I made a PHP router "router.php" and I can simply run it using:
php -S localhost:nnnn [address]/router.php
nnnn is the port I used for connection.
My os is Lubuntu and I can test the router PHP in Lubuntu Firefox browser using:
localhost:nnnn/?
And it works great but, my problem is I can not use it with the same method on my Android device.
I tested 192.168.x.x:nnnn in my Android browser but its not working.
My laptop and phone are connected to a Wi-Fi modem/router and 192.168.x.x is my laptop local IP address.
I turned off my firewall but it's not working yet.