What i have is:

  • Windows Vista
  • Xaamp Server
  • Huawei 3G USB modem

The problem is that i can't connect to my IP, although i can connect to "127.0.0.1", i've even disabled the firewall and still can't connect, i don't know if my IP is not a real ip ( lol ).

Any one had the same prob, and what's the solution? or is there any software maybe to buy a permanent ip & point it to my computer to both connect & receive upcoming connections?

P.S. i can't host games too

Thanks

link|improve this question

You're probably behind a NAT. Or perhaps your ISP is blocking port 80. Or Apache is only listening on the loopback address. Could be a number of things. – Beaming Mel-Bin Oct 24 '10 at 21:16
Nimmy i think you are right about being behind a NAT network, how to solve this? – user23392 Oct 24 '10 at 21:18
If you are behind a NAT your IP would be 192.168.x.x. You could probably do some type of port forwarding on your router. However, I think best bet---being that you're using cellular data plan---is that your ISP is blocking port 80. – Beaming Mel-Bin Oct 24 '10 at 21:20
Elaborated on my comment below. Hope this helps. And PS: I'm assuming you meant XAMPP server. – Beaming Mel-Bin Oct 24 '10 at 21:44
@user23392 Did you ever get this to work? – Beaming Mel-Bin Oct 27 '10 at 2:07
feedback

migrated from serverfault.com Oct 24 '10 at 21:54

This question came from our site for system administrators and desktop support professionals.

1 Answer

up vote 2 down vote accepted

Let me elaborate on my comment:

1. Is Apache only listening to 127.0.0.1?

You could test this by typing the following in the command line:

>netstat -a -b -n

Find the line with httpd.exe:

  TCP    0.0.0.0:80             WINDOWS-PC:0         LISTENING
 [httpd.exe]

If the address is 0.0.0.0, then apache is listening on all interfaces. If it's 127.0.0.1, then you'll have to configure it to listen on all interfaces. To do this on XAMPP:

  1. Go to your XAMPP folder's Apache configuration folder (XAMPP\apache\conf).

  2. Edit httpd.conf's Listen line to be Listen 80

  3. Restart XAMPP (Apache specifically)


2. Or are you behind a NAT?

Doubt this could be it because, even if you are behind a NAT, you should get a connection to Apache from your own computer. But still worth checking out.

Go to command line (Start -> Run -> cmd) and type the following:

>ipconfig

If your modem's IP is either 192.168.x.x, 172.x.x.x or 10.x.x.x; you're behind a NAT and would have to configure the router to do IP forwarding. This might be difficult/impossible if you don't control you're router.


3. Or, you're ISP is blocking port 80:

Finally, if you're not behind NAT and you're listening on all interfaces, baring some firewall misconfiguration, odds are your ISP is blocking port 80. You're simply SOL :-/

link|improve this answer
And most modems don't allow backlooping... – BloodPhilia Oct 24 '10 at 22:07
Really? Was not aware of that. Nice to know. – Beaming Mel-Bin Oct 24 '10 at 22:22
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.