F
F
Filipp422021-08-02 21:06:03
Apache HTTP Server
Filipp42, 2021-08-02 21:06:03

The site is not accessible by ip in the local network, how can I access it through a browser?

Picked up a DokuWiki server today on an old computer. Works on Apache2. When I enter in the browser on the host
localhost/dokuwiki/ it shows everything fine. When I enter it ah pi instead of localhost, everything is fine too! But if I try to connect using the same IP from another computer, no connection occurs. The DokuWiki site is located in the /var/www/html/dokuwiki folder.
How to be? How to connect to the site from another device on the same local network?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Drno, 2021-08-02
@Drno

It even does not give out the test page apache2?
Is port 80 open in the firewall for incoming? If for the test in LAN - you can disable the firewall altogether.
If ubuntu\debian - then the command sudo ufw disable

F
freemailroot, 2021-08-04
@freemailroot

You can try to check the availability of the host: port in general via
sudo python3 -m http.server 80
If anything - try to open the port via iptables
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question