Jump to content

Apache Question


martymcfly
 Share

Recommended Posts

i installed apache and I am trying to get it to work. As it stands right now, on my computer, if I go to http://127.0.0.1/me, i see my files I put there. I can also do this frokm another computer on the network by doing htttp://192.168.2.4/. I have port forwarding set up, but i can never have it so if I go to my public IP /me, it shows the files. It always brings up the router config if i dont do /me (of coure). Is there anything i am possibly missing here?

 

edit: Im a n00b, so go easy on me :P

Edited by martymcfly

Share this post


Link to post
Share on other sites

go into your router settings and to "port forwarding" there you should be able to forward port 80 (http traffic) and port 21 (ftp traffic) (and any other ports your gonna need open). forward them to whatever your internal IP address is of the machine with apache.

 

that should work, then you should be able to go to your external IP and see your files there.

Share this post


Link to post
Share on other sites

I have port forwarding set up

473287[/snapback]

 

i missed those 6 hidden little words.

 

according to your problems it seems as though its not set up correctly. what router are you using and your only using 1 router right? maybe you setup forwarding on your cable box and not the router?? i dunno just trying to offer some suggestions

 

apache seems to be working so it looks like its somethign wiht your router

Share this post


Link to post
Share on other sites

127.0.0.1, if i'm not mistaken is not the public ip address, but a virtual one....

you might want to go to www.whatismyip.com to find out

473401[/snapback]

 

from his post im pretty sure he realizes that.

 

one other thing i just htough of:

 

do you have a firewall? im not sure if you have one but that would stop outside traffic from getting in and still allow you to see the files because you are inside the network.

Share this post


Link to post
Share on other sites

Your router has web access doesn't it? If that's the case, your router has your external IP, so if someone then tries to go to that IP they're going to get the routers page come up, from it's in built web server.

 

You have two options, change the routers web server port (I can do this on my modem, not sure if that'll be an option for you), or set up the port forwarding to use a different port, for example 8080 -> yourcomputer:80

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...