Forum Moderators: phranque

Message Too Old, No Replies

apache with just ip address

i can run the server fine but cant see it from the internet

         

threecsixx

10:07 pm on Mar 7, 2006 (gmt 0)

10+ Year Member



I don't have a domain name and don't want one. I run windows xp with apache 2.2 and it installs and runs fine. i can see my simple website from the [localhost:8888...] and changed to port to 8888 just in case my isp (verizon) blocks 80. I'm not hosting a website but would like to see my own stuff by typing in just my ip address from a computer on the internet [#*$!.xxx.xxx.xxx...] but I cant see it from any other computer.
I have a dsl modem and think this might be causing my problem. I'm a little new when it comes to hosting so it would be nice if someone could let me know simply what to change and how to change it.

jdMorgan

10:43 pm on Mar 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



threecsixx,

Welcome to WebmasterWorld!

Assuming that you have no router and have set your firewall(s) to allow traffic on your preferred server port, you should be able to access your server from any external computer on the internet by using your WAN address -- the address privided by your ISP for your modem.

If you do have a router, then you'll need to configure it to forward traffic on that port to your server.

Jim

freeflight2

10:49 pm on Mar 7, 2006 (gmt 0)

10+ Year Member



you need to make sure that your apache actually listens to an IP and not just 'localhost'

try to telnet directly on the server to the server IP:
telnet (server_ip) 80
and check if apache 'listens'

threecsixx

5:55 pm on Mar 8, 2006 (gmt 0)

10+ Year Member



I don't have a router just the dsl modem. i shut my firewall off (windows xp firewall) and will deal with security once i get this working. I ran a port program and it says that apache is listening on port 8888. I don't know that apache is listening right ip wise.
My wan address is what is listed when i visit a website like www.whatismyip.com right? thanks for the help.

jdMorgan

1:55 am on Mar 9, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> My wan address is what is listed when i visit a website like www.whatismyip.com right?

Yes, that IP address is your WAN address, so that's what you should use to access tyour site from another computer. I.E. [<wan_IP_address>...] should get to your home page.

This will not work from inside your own network, though since using that WAN address would make your computer attempt to open a connection that is both outgoing and incoming at the same time. So, you're stuck with using your WAN address from outside, and your LAN address from inside your own network.

Jim

coho75

2:07 am on Mar 9, 2006 (gmt 0)

10+ Year Member



You may also want to look into using a dynamic DNS service. This would make easier to access your server from outside your home network, epsecially when you are using a port other than 80.

threecsixx

8:12 pm on Mar 9, 2006 (gmt 0)

10+ Year Member



I disconnected my dsl and dialed into an isp. used that ip address and my web page was visible (using that ip address they gave me) and then switched to dsl typed in that dsl ip and it dosn't work. My isp might have some kind of built in firewall that is keeping me from hosting it or something. anyone know if verizon does this? I'll have to call them.

jdMorgan

9:24 pm on Mar 9, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Read their terms of service carefully. Many ISPs are quite explicit about not allowing servers on residential-class lines. While this may seem silly, remember that their networks are optimized for browsers, which send very little data and receive a lot of data. Putting a server onto a network that is download-optimized can really ruin the upload performance for all users, since servers are the opposite of browsers -- they receive very little information and send a lot.

Many ISPs take this seriously enough that they will permanently terminate service for violations. This is actually a useful tool against people who run scraper and malicious sites on home ISP services. In one case described here, the bad guy got reported and his account was canceled -- And that was the *only* ISP in the large region wher he lived... I hope he found a new job, 'cause he was just flat off the internet until he moved somewhere else.

I should note that because the traffic profile of a server is so different from that of a browser, most violators are caught automatically and easily.

Jim

threecsixx

8:22 pm on Mar 15, 2006 (gmt 0)

10+ Year Member



So in the end. after installing apache all I had to do was use port forwarding from my dsl modem to my computer running apache. Simple. I enabled it and it works. Now to build my site. I'm only using it to test my site not hosting so it probably won't be noticed by my host anyway. I couldn't find anything that says I can't host, and even the guy I called tech support said there shouldn't be a problem.
Thanks to everyone that replied.