Skip to main content

TechBytes 07: Publicly accessible local server without public IP address!


So you know how to create and host a local server but due to lack of a public IP address you can't expose your server to the internet? Read out today's post to acquire a public address to your server.

1. Go to ngrok signup page, register and login.
2. Go to ngrok download page and download the tool for your operating system.
3. Extract and run the executable file as administrator.
4. Make sure your local server is hosted and working.
5. Now in the ngrok command line interface provide the authentication token. You can find it in the dashboard page. After logging in just head over to 'Connect your account' section.
Finding Authtoken
6. Type the authtoken in the following manner.
Authenticating ngrok CLI
7. Then type in "ngrok protocol port" and press enter. Here make sure to replace 'port' with the port of your local server.
Port Forwarding Command
8. Now you will see a command line window like below. Observe the 'Forwarding Address'. This is the public address to your local server. You can test it on your web browser and share with others.
Connection Established
9. Testing fully working server from web browser.
Publicly Accessible Web Server
So start exploring by exposing your local web/ file server to the internet!
Disclaimer: Every time you re-open ngrok you'll get your public address randomized.

Comments

Popular posts from this blog

Vapoclean: A sensor guided hand-rub dispenser

Due to the outbreak of COVID-19, a huge amount of alcohol based disinfectants are being manufactured and supplied in many countries. But as the virus spreads through close contact, we wanted to bring down the number of times a person has to touch things. So, we made Vapoclean. Vapoclean is giving the following advantages to it's users: 1. Spraying ample amount of disinfectant as an equally distributed mist. Which ensures disinfection in the shortest time before the solution evaporates. 2. Decreases the amount of wastage. 3. Lessens down the hassle of refilling or replacing the container frequently. Project & Team Introduction Introduction User Manual Display View 01 Display View 02 Official Datasheet Copyright © 2020 Vapoclean by Shahrear Mahfuz, Md. Asifuzzaman, S M Kaiser Ahmed, Faizur Rahman. All Rights Reserved.

SkillBytes 03: The Ultimate LinkedIn Cheat Sheet

LinkedIn! An important platform for branding yourself. But do we know how to prepare a professional profile? Time to learn it today! Note: This post is contains content from  Leisurejobs . 1 - The perfect profile blue print There are more than 562 million professionals on LinkedIn. To stand out, you need to pay close attention to creating your profile. In this section, you'll learn how this is done. Name Include your first, last and middle name (if applicable). This is not the place for nicknames or humorous references to job titles such as "Sales Rockstar" or "Developer Ninja"! Profile photo First impressions matter during both business meetings and when people see your profile picture. Consider your industry in addition to potential consumers and peers to select an appropriate headshot. Banner photo You can also design a banner image that reflects you or your  website branding . Something that looks smart, looks on brand and captures attention. Profile photo r...

TechBytes 02: Block certain sites from your computer! (Windows Platform)

Sometimes we want to block few websites so that other users of the computer can't visit those pages. Today I'll show you how to do this from windows operating system based computers. Let's do it then! Step 1: Search for notepad, right click on that and select 'Run as administrator' Opening notepad with admin access Step 2: Press 'Ctrl+O', navigate to 'C:\Windows\System32\drivers\etc' and double click on hosts Opening hosts file Step 3: Then at the end of the text file type in- "127.0.0.1 www.example.com" (w/o quotes) Blocking Access to Facebook Step 4: Press 'Ctrl+S' to save the file. Now use any browser to test your target site. You'll see that the site cannot be accessed anymore! Blocking activated What if you want to revert these things? Just put a # in front of 127.0.0.1 in the hosts file. Example #127.0.0.1 www.facebook.com See you again shortly!