N
N
nasvek2021-01-30 13:08:20
Computer networks
nasvek, 2021-01-30 13:08:20

How to open access to the local server from the global network?

Please tell me how to implement access from the global network to a server running on a local server

. I'm not strong in networks, but there was such a need that from the global network, I could access web content by reading the instructions, I somehow, did something , everything seems to work and the site is displayed, but:

  • Did I do the right thing?
  • Why does it take so long to load
  • Why is the content not fully rendered (does not fully load and there is no logo) ?

Basic parameters:
  • Project on Laravel
  • Running on Vagrant

What was done
Read the guides, I did something, but probably something is wrong (ip gray)
I did port forwarding on the WIFI router
60152ed1ef6cb444348147.png
As I understand it, VAGRANT redirects external port 80 to its internal 8000?
80 (guest) => 8000 (host) (adapter 1)

After these steps, everything worked, however:
  1. Initially, I did port forwarding on the router 80 to 80, but for some reason, under such conditions, the site was not shown, that is, it apparently did not redirect
  2. Am I doing it right or do I need to do it differently?
  3. Why does it take forever to load when I enter the site and the logo is not displayed? Could it be a logo permission issue?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question