Running HTTP Server Localy

sonxEr77

Expert Member
Joined
Oct 22, 2006
Messages
1,809
Hi, trying to create a local subversion using Apache HTTP Server ... After installation, when i run the service i get "httpd.exe: Could not reliably determine the server's fully qualified domain name, using 10.0.0.100 for ServerName" ... I this to do with my PC IP already configured? ... I see the apache service is running but can't load the following "http://localhost:8080/svn/" on browser ... Please help
 

marjo

Well-Known Member
Joined
Jan 26, 2007
Messages
228
# 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 this is not set to valid DNS name for your host, server-generated
# redirections will not work. See also the UseCanonicalName directive.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.
#
#ServerName www.example.com:80

On What OS are you installing it?

Is it Apache 2?
 

BlaQ_PhoeniX

Well-Known Member
Joined
Sep 26, 2007
Messages
271
AFAIK if the server is bound to 10.0.0.100 you can't access it using 127.0.0.1 ie localhost.
 

guest2013-1

guest
Joined
Aug 22, 2003
Messages
19,800
FQDN (full qualified domain name) is: www.yomomma.com

So when it can't determine that, it then defaults to an IP. Now normally Apache installs on port 80 (unless you chose otherwise and/or already have IIS installed)

1) Which port is Apache listening on? (check the config files, if no IIS, probably default port 80)
2) Don't be afraid to give your website a name, it's easy to do in the hosts file (windows\system32\drivers\etc)
3) Check if SVN has configuration file you can edit, 10.0.0.100 isn't a default IP unless you, somewhere, chose it in the configuration/setup
 

bradrap

Senior Member
Joined
Nov 16, 2005
Messages
852
Do you use skype? Apache conflicts with skype as it also uses ports 80 and 443 for incoming connections.

If you do use skype, go to tools --> options --> advanced --> connection and uncheck 'use port 80 and 443 as alternatives for incoming connections'.

What I find is easiest is to download WAMPServer found here, click click click and it's set up perfectly.
 

sonxEr77

Expert Member
Joined
Oct 22, 2006
Messages
1,809
FQDN (full qualified domain name) is: www.yomomma.com

So when it can't determine that, it then defaults to an IP. Now normally Apache installs on port 80 (unless you chose otherwise and/or already have IIS installed)

1) Which port is Apache listening on? (check the config files, if no IIS, probably default port 80)
2) Don't be afraid to give your website a name, it's easy to do in the hosts file (windows\system32\drivers\etc)
3) Check if SVN has configuration file you can edit, 10.0.0.100 isn't a default IP unless you, somewhere, chose it in the configuration/setup
in httpd.conf i found this
#
# 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

i think i need to uncomment ServerName an add appropriate ip?
 

sonxEr77

Expert Member
Joined
Oct 22, 2006
Messages
1,809
Could be it... give it a shot ;)

Changed port as follows ...
Listen 8080
ServerName localhost:8080
and check all my ports ....
c:\netstat -no -p tcp

Active Connections

Proto Local Address Foreign Address State PID
TCP xx.x.x.xxx:x046 69.63.176.141:443 ESTABLISHED 268
TCP xx.x.x.xxx:x051 69.63.176.141:443 ESTABLISHED 268
TCP xx.x.x.xxx:x127 209.85.229.104:80 ESTABLISHED 5416
TCP xx.x.x.xxx:x130 209.85.229.104:80 ESTABLISHED 5416
TCP xx.x.x.xxx:x131 209.85.229.113:80 ESTABLISHED 5416
TCP xx.x.x.xxx:x132 212.143.22.157:80 ESTABLISHED 5416
TCP xx.x.x.xxx:x133 209.85.229.104:80 TIME_WAIT 0
TCP xx.x.x.xxx:x135 209.85.229.19:443 ESTABLISHED 5416
TCP xx.x.x.xxx:x136 209.85.229.104:443 ESTABLISHED 5416
TCP xx.x.x.xxx:x139 209.85.229.138:80 ESTABLISHED 5416
TCP xx.x.x.xxx:x140 209.85.229.113:80 ESTABLISHED 5416
TCP xx.x.x.xxx:x142 69.59.196.216:80 ESTABLISHED 5416
TCP xx.x.x.xxx:x143 69.59.196.216:80 ESTABLISHED 5416
TCP xx.x.x.xxx:x150 69.59.196.216:80 ESTABLISHED 5416
TCP xx.x.x.xxx:x151 209.85.229.139:80 ESTABLISHED 5416
TCP xx.x.x.xxx:x153 209.85.229.113:80 ESTABLISHED 5416
TCP xx.x.x.xxx:x154 69.63.176.59:443 ESTABLISHED 268
TCP xx.x.x.xxx:x155 165.165.39.202:80 ESTABLISHED 268
TCP xx.x.x.xxx:x156 165.165.39.202:80 ESTABLISHED 268
TCP xxx.x.x.x:xx23 xxx.x.x.x:xx22 TIME_WAIT 0
TCP xxx.x.x.x:xx24 xxx.x.x.x:xx25 ESTABLISHED 5416
TCP xxx.x.x.x:xx25 xxx.x.x.x:xx24 ESTABLISHED 5416
TCP xxx.x.x.x:xx28 xxx.x.x.x:xx29 ESTABLISHED 5416
TCP xxx.x.x.x:xx29 xxx.x.x.x:xx28 ESTABLISHED 5416
TCP xxx.x.x.x:xx52 xxx.x.x.x:xx26 CLOSE_WAIT 404

No 8080 is used, but the following gives the message ...
C:\httpd.exe
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: cou
ld not bind to address 0.0.0.0:8080
no listening sockets available, shutting down
Unable to open logs

????
 
Last edited:
Top