I've been given an old XP pc and have put (X)ubuntu on it in order to get a web-server running with the goal being to let family members sign in and download TV shows/movies/etc.
Have set it up according to a couple of sites (a mix of Ubuntu/apache etc sites) and am using ngrok to open up a tunnel (with the end goal being once it's running and accessible, i will go for the $5/mnth for the permanent address).
Have apache/mysql/php working (this is NEW territory for me, but i THINK it is working correctly) and have ngrok running, but i cannot connect from an external device (my tablet).
I THINK the problem is with firewall (ufw on ubuntu and the router firewall): have tried to get port 80 accessible through both , have allowed access through the router firewall for the web-server: my next plan is to completely stop ufw on the pc and just allow the router to run things.
Does anyone have advice/tips/help?
Gotta be at least a couple people familiar with running a web site around here :)
(Score: 0) by Anonymous Coward on Saturday July 28 2018, @05:34PM
So you think the problem is your firewall, but don't post the config? What IP address is Apache listening on (all, localhost, etc.)? What command are you using for ngrok and what output is it giving? However, this sounds like total PEBKAC.
According to the docs, ngrok doesn't require any open ports on the firewall and ufw doesn't block loopback by default. I think you are confused or didn't read the manual. I think that the most probably explanation is that Apache isn't listening on a loopback address (e.g.127.0.0.1) or on a different port and you need to give it a proper Listen directive.