Stories
Slash Boxes
Comments

SoylentNews is people

The Fine print: The following are owned by whoever posted them. We are not responsible for them in any way.

Journal by Gaaark

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 :)

Display Options Threshold/Breakthrough Reply to Comment Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 0) by Anonymous Coward on Saturday July 28 2018, @07:23PM (3 children)

    by Anonymous Coward on Saturday July 28 2018, @07:23PM (#714062)
    # netstat -nlp | grep apache
  • (Score: 2) by Gaaark on Saturday July 28 2018, @10:55PM (2 children)

    by Gaaark (41) Subscriber Badge on Saturday July 28 2018, @10:55PM (#714130) Journal

    Sorry, posted this from work hoping someone would have a miracle cure: my problem is time and experience. This is my first attempt at this.

    tcp6 0 0 :::80 :::* LISTEN 663/apache2

    Will have to look this up when i have more time. Probably not today or tomorrow: maybe not until Tuesday. :(
    Surprised i got as far as i did!

    --
    --- Please remind me if I haven't been civil to you: I'm channeling MDC. ---Gaaark 2.0 ---
    • (Score: 0) by Anonymous Coward on Sunday July 29 2018, @03:39AM (1 child)

      by Anonymous Coward on Sunday July 29 2018, @03:39AM (#714206)

      Three things. First, I'm the original parent of the thread, and not the one you replied to directly. I want to apologize for my tone, you caught me at a somewhat bad time and I came down harder than I probably should have.

      Second, try setting your Apache "Listen" directive to

      Listen 127.0.0.1:80

      from the default. By binding locally to IPv4 only instead of dual-stacking with mapped addresses, you might get better results out of your tunnel.

      Third, firewall all ports exposed on the internet. Ngrok doesn't require any open ports in your firewall. Worst case, you can add the WWW service on UFW, but that shouldn't be necessary.

      • (Score: 2) by Gaaark on Sunday July 29 2018, @10:04AM

        by Gaaark (41) Subscriber Badge on Sunday July 29 2018, @10:04AM (#714277) Journal

        Thanks: gonna look harder at this when I get a chance.
        And yeah, I've been caught at bad times too. No problem.

        This is all REALLY interesting, though: feeds the brain!
        Thanks again.

        --
        --- Please remind me if I haven't been civil to you: I'm channeling MDC. ---Gaaark 2.0 ---