Router Help

NixxerNixxer Nottingham, UK
edited June 2003 in Science & Tech
Firstly, I don't know where this post should go.

My computer connects into a hub, which connects into a router, which is what the modem/ethernet adapter plugs into.

My hub is just a standard mini hub.

My router is a UNEX NexIP IS050s.

I tried running apache on my computer. I set it up correctly, using port 127 and my desired directory, so I could have a web server. I set the router to forward any requests for port 127 to my computer.

The problem is that it didn't work. Just gave a 404 error. Can anybody please help me with this as I have no idea.

Thanks.

Comments

  • dydxdydx Cymru, UK
    edited June 2003
    This post should be in networking.

    Why dont you use port 80?

    Try

    http://yourip:127

    Youre better off using port 80 tho.


    mD
  • NixxerNixxer Nottingham, UK
    edited June 2003
    I tried port 80 originally and it didn't work. My father said that something else on the network already uses this port at times so there weould be a conflict anyway.
  • ClutchClutch North Carolina New
    edited June 2003
    Port 80 is used by your browser for http, its the standard port. You don't have the port blocked I'm guessing since you requested that all info be sent to your computer. Maybe there is a dns problem or something. http://localhost or http://127.0.0.1 if your not connected to the internet. Also ad the port number to the ned of the url like dydx suggested like http://me.com:87

    Also apache can't share the same port with another tcp/ip app.
  • EMTEMT Seattle, WA Icrontian
    edited June 2003
    Wait a sec. If it got a 404 error (instead of a "This page cannot be displayed") that means it reached the server properly but couldn't find the requested item... if that's the case the problem is with Apache's config and the directories etc. Check DocumentRoot and... that other place... I forget, heh. But is it really a 404? Because that would mean a successful connection.
  • NixxerNixxer Nottingham, UK
    edited June 2003
    Thanks for the thought.

    If I try either the link (with or without port) it doesnt work, which I'm told its not meant to. However, with http://localhost, it works fine.

    When I ask friends to access the link, they say that it just brings up literally nothing. Its blank. Now when they said this I thought they meant nothing as in a 404.

    Does this mean my router has been configured correctly and its Apache? Or the other way around etc?
  • edited June 2003
    Browsers usually think port 80 is for http, port 8080 is alternate http and port 127 is typically a LOCUS connection server port (per IANA.org). To get browsers to feed http over a weird port, go to iana.org and pick an un-spoken-for port.

    Normally if apache has no idea what to feed and is set up to grok and use an unusualy port which matches the router port, you will get the Apache test page. Gettign nothing is typically a router<->Apache port mismatch as Apache is listening on what you told it but that is not what the router is using to NAT things to.

    Normally, BOTH should be set to 8080 if this is a legit server. and make sure the router is not talijng to its own NIC using 127.0.0.1 please (this is not a flame, typical newer user thinks that the Lin-box or BSD-Box's default 127.0.0.1 is a real IP-- but not so, it is a loopback port for the NIC local to whatever is told to use that IP (if you program that into a router as an outbound IP, router will happily loop test port all day, ROUTE zilch out of itself, and outsiders will get no messages whatsoever that browser can find or display as router thinks it is testing ITSELF and says zilch\nada\zip\zero to browser that is browsing in unless browser is coming in through admin login).

    So, could be BOTH, also could be just router or just Apache. Note, server needs either a proxy server or a STATIC IP plus NAT to be at all secure and to serve correctly. I would also take a server OFF a hub if at all possible and connect to router.

    John Danielson
  • NixxerNixxer Nottingham, UK
    edited June 2003
    It now works. Nothing above actually helped, but thanks anyway.

    I needed to upgrade the router drivers. As soon as I installed the new driver and configured the new settings, it worked fine. Souriat gave me some help in tweaking my Apache config so thanks to him (and agian, to the people who tried to help).
  • edited June 2003
    Firmware's a bitch :)

    m33p, where'd you get that directory browser and what are you running your server off of? The browser is nifty.
  • edited June 2003
    Send plz :D ***** :o
    What connection I meant :D
  • edited June 2003
    Ty. I'm about to close that account anywho. They're slow. Hotmail goes faster. :)
Sign In or Register to comment.