Listen 27015

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

Listen 27015

Postby commandercup » 05. November 2006 02:57

My ISP globally blocks port 80 (to stop them from getting way too much bandwith usage) so I want to run on port 27015 (which has worked for me with game servers) where do i put the "listen 27015" command?
commandercup
 
Posts: 2
Joined: 05. November 2006 02:50

Re: Listen 27015

Postby Izzy » 05. November 2006 05:38

commandercup wrote:My ISP globally blocks port 80 (to stop them from getting way too much bandwith usage) so I want to run on port 27015 (which has worked for me with game servers) where do i put the "listen 27015" command?

In the Apache httpd configuration file:
xampp\apache\conf\httpd.conf

Find this and change Listen 80 to Listen 27015:
Code: Select all
#
# 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

This would apply for access from your URL:
http://yourdomain.com:27015
or your IP:
http://xxx.xxx.xxx.xxx:27015

However you can still access localhost on port 80 as it is not affected by your ISP.
http://localhost
or
http://127.0.0.1

If you wanted to change the listening port for the localhost also then find this part and change the 80 to 27015
Code: Select all
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:80
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby commandercup » 05. November 2006 15:24

thank you so much for your quick reply, im trying it now
commandercup
 
Posts: 2
Joined: 05. November 2006 02:50

Postby Izzy » 05. November 2006 23:42

Always backup your original conf files before editing and restart Apache after editing so the server can read in your changes.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

this doesn't work for me

Postby SIN982 » 08. November 2006 15:53

won't let me restart my service back up when i change it to 5010
SIN982
 
Posts: 4
Joined: 08. November 2006 15:43

Re: this doesn't work for me

Postby Izzy » 08. November 2006 22:27

SIN982 wrote:won't let me restart my service back up when i change it to 5010

Check my reply in your other thread:
http://community.apachefriends.org/f/viewtopic.php?t=21300
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 142 guests