Page 1 of 1

Can't recieve incoming connections

PostPosted: 27. November 2006 08:25
by Andy4Life
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?

PostPosted: 27. November 2006 12:48
by Wiedmann
Your ISP allows connetion to your local webserver?

PostPosted: 27. November 2006 14:03
by Andy4Life
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?

PostPosted: 27. November 2006 15:06
by Izzy
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

PostPosted: 27. November 2006 16:10
by Andy4Life
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 :)

grrr

PostPosted: 09. February 2007 16:29
by FatalCure
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.

PostPosted: 09. February 2007 18:04
by Wiedmann
You should use a port >1024. (for example 8080)