I need Help

Discussion in 'Apache' started by LearnUbuntu2, Jan 5, 2013.

  1. #1
    I have installed Apache2 on my linux OS on my laptop. I portfowared Port 80 to my local IP:192.168.0.13. I made a dyndns account and make a url with my external ip like most of the tutorials ask you to do it. I opend all my router firewalls. Anyone know why my apache test page doesn't work?
    Only works with Localhost/127.0.1.1 or 192.168.0.13

    Anyone know what could be causing it?
     
    LearnUbuntu2, Jan 5, 2013 IP
  2. Zoti Media Group

    Zoti Media Group Notable Member

    Messages:
    1,599
    Likes Received:
    113
    Best Answers:
    2
    Trophy Points:
    265
    Digital Goods:
    2
    #2
    Your internet provder is blocking port 80. You have to change it to 8080.


    Change port from 80 to 8080 in /etc/httpd/conf/httpd.conf

    ex:

    <VirtualHost 192.168.1.1:8080 >
     
    Zoti Media Group, Jan 6, 2013 IP
  3. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #3
    Also make sure you have a Listen directive for your LAN IP, as well as 127.0.0.1, not just a VirtualHost.
     
    zacharooni, Jan 6, 2013 IP
  4. LearnUbuntu2

    LearnUbuntu2 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    port 8080 doesnt work, I got a error something for Remote Management. I tryed using Port 5000. it doesnt work but when i did netstat -an i got my External Ip trying to make a connection. It seems its not going trough its saying Syn_Sent. In this case what could it be.

    All my firewalls are turned off and My Moddem is portfowarded port 80 to port 443 and i Opend port 5000.

    If windows is logged off and has a firewall, Could that firewall affect linux(dual boot)

    I mod apache2/ports.conf to listen to port 5000, i tryed port 80 also

    Listen 192.168.0.12:5000
    Listen 192.168.0.12:80
    Main problem is im getting Syn_Sent though Any idea's?

    I also Called My ISP they said they are not blocking port 80 for me
     
    LearnUbuntu2, Jan 6, 2013 IP
  5. LearnUbuntu2

    LearnUbuntu2 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ok so i Tampered with this more and i gave my ip to somebody else. They where able to see my apache just find when i gave them my ip.

    Im using Localhost 192.168.0.12
    Lets say my External IP is 123.213.212.222
    so now i open my Browser i put 123.213.212.222 Press enter
    When i check netstat i get Syn_Sent. But if i use a Different IP From my own it works example:123.213.212.555. Does that mean my external ip cannot connect to itself in order to go on 192.168.0.12. is there a bypass for this?
     
    LearnUbuntu2, Jan 6, 2013 IP
  6. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #6
    You might have remote management enabled on your modem/router that already has port 8080 listening.
     
    zacharooni, Jan 6, 2013 IP
  7. LearnUbuntu2

    LearnUbuntu2 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I wouldnt know how to turn off port 8080(Remote Managment) but when i got a friend to connect to my External IP, They could see my webpage. When i am at home, typing that external ip it doesnt connect. when i check netstats it tells me Sys_sent. My router Cant connect to its own ip but why?
     
    LearnUbuntu2, Jan 6, 2013 IP
  8. Zoti Media Group

    Zoti Media Group Notable Member

    Messages:
    1,599
    Likes Received:
    113
    Best Answers:
    2
    Trophy Points:
    265
    Digital Goods:
    2
    #8
    Chash, cookies deleted? Make a flush dns
    . Anyway have a static or dynamic ip?
     
    Zoti Media Group, Jan 8, 2013 IP