How to use project done for localhost on Tablet?

Asked

Viewed 80 times

0

How can I use a project I created in PHP to be used only in localhost also on my tablet.

Make the connection between them?

  • 2

    You want to access through the tablet browser an application that is in any machine without external access, this?

  • What is your operating system? How have you set up your environment, used programs like WAMP, MAMP, etc... or did you do a root installation? Has possibility to connect the tablet on the same network as the computer?

  • 1

    If you are going to connect between 2 machines, you are no longer localhost. Better [Edit] and make it clearer.

  • @Filipemoraes is wampserver my system will only be used on localhost , but I want to connect my tablet to localhost , but thank you .

1 answer

2


  • Great, just to complement, you can find your local IP using the ipconfig command on CMD (if you use Windows), or ifconfig on the terminal (if you use Linux/MAC).

  • @Neubeoliveira I will have to put the port also because only so it didn’t work , or I have to make some connection from the tablet to the pc that is the server ?

  • @allanaraujo depends on how you set up your environment, basically it is only replace localhost by ip itself, even if the application in php was on a different port probably Voce would have to do something like this: http://localhost:8080/meuapp/page-legal.php for example. What exactly is wrong?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.