Results 1 to 12 of 12

Thread: Need APACHE HTTP Guru!

  1. #1

    Thread Starter
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Ok, this is the problem:

    I wanted to set up my computer (cable conn.) as HTTP server (Win98), to host my homepage. That all works fine as long as I enter 127.0.0.1 or something in my browser window.

    I think it's because of the Squid 2.0 (proxy) my ISP has, but I don't know much about such things.

    If anyone has an idea why this could be, PLEASE HELP


    Click here to contact me by ICQ

  2. #2
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    what is the ip address of your computer
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  3. #3
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    Why are you using APACHE? (or are you)

    not that I thinks that the problem but us VB guys depend on microsoft (sorry) why not use PWS, it only allows 5 connections but its easy to manage and it supports VB stuff very simply.

    Do you write VB EXE CGI scripts?
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  4. #4

    Thread Starter
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    I think my IP is 194.209.172.146 (got it from ICQ).

    Well, I use Apache coz some people told me about it. The problem is not Apache, it's definitely my connection. I can't connect to my PC, even not with WinSock controls... I don't know where the problem could be, someone told me to use port 1080, well, didnt work...

    And no, never coded CGI; I just want to host my website, that's all (for the mo )

  5. #5
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    I am able to get to your computer but no server is picking up the connection.

    try this for me

    telnet into your computer from your computer on

    a. 127.0.0.1 (you tell me this works)

    then try

    your ip address


    try port 80 and 1080

    let me know your results of all 4 tests
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  6. #6
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    Ignore my last request and try this

    when you create a program with the winsock control can you bind it to your computers address

    winsock1.bind "194.209.172.146"

    then try telneting into your computer on that address





    Kurt Simons
    [I know I'm a hack but my clients don't!]

  7. #7

    Thread Starter
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Thanks for your help, but a) I need to configure my website first, programs later. Anyway I b) Use a TCP/IP connection where I can't bind the WS

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    It's not a problem with apache as such - when you're connected to the Internet, type winipcfg in your Start->Run box. The IP address of your computer should then be displayed. The address 127.0.0.1 is the 'loopback' address, which routes them straight back into the networking system.

    The configuration of apache means that you can set up which port it listens to (look in httpd.conf). As ever, the apache manual is very handy! (http://127.0.0.1/manual)
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  9. #9
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    It is set up on port 80

    Wolf said he was able to type 127.0.0.1 into IE and it worked.

    Wolf can you type your IP address into IE and have it work.
    If it doesn't this explains alot.

    Thats why I asked for you to bind to that address to see if your computer had any type of bindings problem before moving on.
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  10. #10

    Thread Starter
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Well, winipcfg shows me the internal IP which is 10.1.0.67. however, I now know that all ports are closed by my ISP! Is there a way to get around???

  11. #11
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    With that address you are most certainly behind a firewall. It is impossible to set up a HTTP server for general use because there is no way for people to directly connect to you.

    I am not saying there are not ways to connect to your computer VIA a socks server or something but as far as getting other computers browsers to connect to you is most likely not going to happen.

    the address
    194.209.172.146
    if that of your proxy and/or firewall

    You would not have been able to "bind" to it because its not yours.

    Sorry

    I'm sure for more money each month you can get a real IP address, as a programmer I think its worth it.

    Kurt Simons
    [I know I'm a hack but my clients don't!]

  12. #12

    Thread Starter
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    ok, Thanks for your help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width