Can't recieve incoming connections

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Can't recieve incoming connections

Postby Andy4Life » 27. November 2006 08:25

Hey everyone at apachefriends.

I have always come here for problems, and they usually get
answered by searching around, this time, is not the case! :roll:

Firstly, I have XAMPPLite, installed everything and placed
all my websites files (PHP) in htdocs. As I always have done.
Disabled Windows Firewall, disconnected my router and have done a direct connection to my modem. So the port forwarding issue should be canceled out.

I can access my website through my own IP and localhost, but no one can access it from the outside world.

My IP is static. I have tried uninstalling and re-installed.

Whats the problem?
Andy4Life
 
Posts: 6
Joined: 10. August 2005 12:56
Location: Australia

Postby Wiedmann » 27. November 2006 12:48

Your ISP allows connetion to your local webserver?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Andy4Life » 27. November 2006 14:03

Yes, XAMPP is running on this machine. Only this machine is connected to the internet. I've had XAMPP running along time ago and this problem did occur, but I seem to have forgotten on how to resolve my issue!

What do I have to do?
Andy4Life
 
Posts: 6
Joined: 10. August 2005 12:56
Location: Australia

Postby Izzy » 27. November 2006 15:06

It sounds like you are on cable and most ISPs who run the cable networks block port 80 to prevent you running a web server or uploading large DVD files etc. and hogging bandwidth.

Optus, iiNet and may be others block port 80 but BigPond only block port 25 but I believe they throttle port 80 so it becomes useless for any serious local web hosting.

Do a Google search to see if your ISP blocks port 80.

To find out about Optus use these key words:
optus blocks port 80

To get around that port 80 restriction open
xampp\apache\conf\httpd.conf
in your fav text editor and find this section:

# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80


Change Listen 80 to another port like Listen 85 or what ever port you feel happy using.

Save the file and restart Apache.

Now you will have to use the new port in your address everytime you want to access from the outside like so:
http://123.456.789.123:85
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby Andy4Life » 27. November 2006 16:10

Thanks Izzy. What a great reply. In my history of all forums, that is proberly the best reply I have ever gotten to do with anything.

I never knew OptusNet (My ISP) blocks port 80. We learn something new everyday :wink:

A friend along time ago used a method like that, but there was no chance of getting that information back until now. Thanks very much.

Hope you have a great day :)
Andy4Life
 
Posts: 6
Joined: 10. August 2005 12:56
Location: Australia

grrr

Postby FatalCure » 09. February 2007 16:29

85 doesn't seem to work for me, I've tried some other random numbers and they appear to work but firefox is giving me some error "This address is restricted

This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection."

Are there any other http ports I could try, I hate Optus so much now.
FatalCure
 
Posts: 1
Joined: 09. February 2007 16:13

Postby Wiedmann » 09. February 2007 18:04

You should use a port >1024. (for example 8080)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 68 guests