![]() ![]() On your phone, enable Developer Options & USB Debugging.To connect your browser dev tools with a connected device, follow the instructions at Get Started with Remote Debugging Android Devices Opt 2 - You can use n to create a ssh tunnel with the following command: ssh -R 80:localhost: 8081 Remote Device from Local Dev Tools Opt 1 - You can use ngrok to provide port forwarding over ngrok's public facing portsĭownload ngrok and run the following command: $. Note: For best results, use port 80, connect on a private network, and check your firewall settings. You can find the ip address running ipconfig | grep IPv4 or the hostname by sending a ping -a to that ip. Within the same network, you can access your machine with your current ip address or hostname. Prerequisite: Your website is currently on localhost: 8081/ with a tool like live-server a) Publish on Same Network Restart all services and Put Online from the tray icon In this case you might need to consider static IPs on guest machines also # Controls who can get stuff from this server. As a security caution, you might avoid Allow from all but instead use specific guest IP for example Allow from 192.168.1.xxx where xxx is the guest machine IP. # If your host doesn't have a registered DNS name, enter its IP address here.Īllow the guest machines and yourself. # it explicitly to prevent problems during startup. # This can often be determined automatically, but we recommend you specify I would leave blank the name so it gets the defaults: # ServerName gives the name and port that the server uses to identify itself. # prevent Apache from glomming onto all bound IP addresses. # Change this to Listen on specific IP addresses as shown below to In the nf in Apache you should have: # Listen: Allows you to bind Apache to specific IP addresses and/or Your network configuration might use a different IP This kind of configuration doesn't break phpMyAdmin on localhostĪ static IP is recommended on the device running the server This should be all you need for a basic setup Net application already on server, then it would have already occupied 80 port. Net Application Internet Information Server) is installed with any Microsoft. Go to Control Panel>Windows Firewall>Allow a program to communicate through windows firewall>Add another program If firewall is installed, ensure that you add the http port to exceptions and allow to listen. In the application root config.php (db connection) replace localhost with IP address of the server.Save the nf file ensuring that the server is pointed to #Listen 192.168.1.193:80.Change the IP address and replace it with the static IP.Open XAMPP>apache>conf>nf file in notepad. ![]() Get the internal IP or Static IP of the server (Ex: 192.168.1.193).These are the steps to follow when you want your PHP application to be installed on a LAN server (not on web) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |