View Localhost On Devices In Your Network

“Connect To Localhost Within Your Network

Front End Pro Tip:

View Localhost On Devices In Your Network

Often when I am working on localhost I want to test my work on other devices within my network. I typically would run ifconfig in the terminal and peer through the lines of returned text for the the word broadcast then use the IP address from that line. Wanting an easier solution I put together the following shell script.