R
R
retyui2015-06-23 22:39:23
WiFi
retyui, 2015-06-23 22:39:23

Deploy a local web server to share access via Wi-Fi?

I saw how at some presentations, the guys opened access to their web server through a local wi-fi network,
Can you tell me how this happens ???
That is, he allowed me to run a server on port 8080
, and I would like to register the ip of the computer and connect to this server via phone.
Or do you need to open access at the modem level?
a little about the component:
win 8.1 (the antivirus has a disabled firewall)
A few settings:
bee6522b36ea4d74a85001b52e0e636b.PNGfb971a95b0194a4b901ded8ed3766f71.PNG

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
OsyaBender, 2015-06-24
@OsyaBender

The phrase "Or you need to open access at the modem level" is a little incomprehensible. What modem do you mean? If your local network is built through a router, then you can already access the web server. Those. a computer with a fixed address 192.168.1.2 is connected to the router, and a telephone is also connected to the router via Wi-Fi. You just need to check which addresses are distributed by the DHCP server on the router. They must be on the same subnet as the computer hosting the web server. In your case, the range of addresses assigned should be 192.168.1.3-192.168.1.254. To access the web server, type 192.168.1.2:8080 in the address bar of your browser. If you mean access to the web server via the Internet, and not via the local network, then you need to purchase a white fixed ip address from the provider and set up port forwarding on the router.

P
pakrauce, 2016-02-25
@pakrauce

If it is still relevant or may be useful to someone, everything is super simple:
1. If you have Windows, you first need to install python. If you have a Mac or Linux - you are lucky, you already have python, go to step 2
2. Open the terminal, go to the project folder: cd /path/to/folder
3. Run the local server: python -m SimpleHTTPServer
4. We go into the network settings and look for our IP
5. We drive into the address bar of the browser on any device in your Wi-Fi network your IP with port 8000, for example 192.168.0.101:8000

S
Sergey, 2015-06-24
@edinorog

First you need to open access at the wallet level. and pay real money

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question