logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Could not bind to address
Author
Maximus008



Joined: 25 May 2008
Posts: 4

PostPosted: Sun 25 May '08 14:39    Post subject: Could not bind to address Reply with quote

I have seen this issue posted several times on the user board; however, none of the solutions have helped in my case. I have tried several different values in the listen section of httpd.conf, but none of them have had any effect. I keep getting the error message, "could not bind to address...etc." Does anyone know how to fix this?
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Sun 25 May '08 14:41    Post subject: Reply with quote

Did you search the Apache Lounge forum ?
Back to top
Maximus008



Joined: 25 May 2008
Posts: 4

PostPosted: Sun 25 May '08 14:43    Post subject: Reply with quote

Also, my situation is kind of odd because my PHP code works that I put in the htdocs folder. All the configurations that I have made in order for PHP to work, seem to have changed. One weird thing, though, is that I have changed the PHP configuration to display error messages and this is not being changed. I have installed Apache 2.2 but was having problems with that and uninstalled it and now installed Apache 2.0.
Back to top
Maximus008



Joined: 25 May 2008
Posts: 4

PostPosted: Sun 25 May '08 14:45    Post subject: Reply with quote

yes, I did, but none of the recommendations that I found helped in my case.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sun 25 May '08 21:52    Post subject: Reply with quote

specific error log entries?
Apache Distribution (ASF, here, other)?
typing netstat -an? in a console yields?
Configuration changes made?
Back to top
Maximus008



Joined: 25 May 2008
Posts: 4

PostPosted: Mon 26 May '08 6:45    Post subject: Reply with quote

-There aren't any errors in my error log except for some of the issues from some PHP files that I ran previously.

-I'm not really sure what you mean by Apache Distribution (if you are wondering which version I am running, it is 2.0.63

-When I typed netstat -an I got this:

Active Connections

Proto Local Address Foreign Address State
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:990 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING
TCP 0.0.0.0:6646 0.0.0.0:0 LISTENING
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING
TCP 0.0.0.0:9000 0.0.0.0:0 LISTENING
TCP 127.0.0.1:440 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1074 127.0.0.1:27015 ESTABLISHED
TCP 127.0.0.1:1078 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1148 127.0.0.1:1149 ESTABLISHED
TCP 127.0.0.1:1149 127.0.0.1:1148 ESTABLISHED
TCP 127.0.0.1:1150 127.0.0.1:1151 ESTABLISHED
TCP 127.0.0.1:1151 127.0.0.1:1150 ESTABLISHED
TCP 127.0.0.1:4607 127.0.0.1:4608 ESTABLISHED
TCP 127.0.0.1:4608 127.0.0.1:4607 ESTABLISHED
TCP 127.0.0.1:4609 127.0.0.1:4610 ESTABLISHED
TCP 127.0.0.1:4610 127.0.0.1:4609 ESTABLISHED
TCP 127.0.0.1:5679 0.0.0.0:0 LISTENING
TCP 127.0.0.1:7438 0.0.0.0:0 LISTENING
TCP 127.0.0.1:27015 0.0.0.0:0 LISTENING
TCP 127.0.0.1:27015 127.0.0.1:1074 ESTABLISHED
TCP 192.168.1.2:139 0.0.0.0:0 LISTENING
TCP 192.168.1.2:1152 140.142.10.76:993 ESTABLISHED
TCP 192.168.1.2:1154 140.142.10.76:993 CLOSE_WAIT
TCP 192.168.1.2:1408 72.246.103.25:80 TIME_WAIT
TCP 192.168.1.2:1410 209.124.184.137:80 ESTABLISHED
TCP 192.168.1.2:1421 209.124.184.142:80 ESTABLISHED
TCP 192.168.1.2:1422 209.124.184.142:80 ESTABLISHED
TCP 192.168.1.2:1423 209.124.184.134:80 TIME_WAIT
TCP 192.168.1.2:1431 209.124.184.143:80 ESTABLISHED
TCP 192.168.1.2:1448 72.246.103.34:80 ESTABLISHED
TCP 192.168.1.2:1449 72.246.103.50:80 ESTABLISHED
TCP 192.168.1.2:1451 72.246.103.35:80 ESTABLISHED
TCP 192.168.1.2:1459 72.246.103.48:80 ESTABLISHED
TCP 192.168.1.2:1479 209.124.184.135:80 ESTABLISHED
TCP 192.168.1.2:1484 209.124.184.134:80 ESTABLISHED
TCP 192.168.1.2:1485 209.124.184.143:80 ESTABLISHED
TCP 192.168.1.2:1495 77.250.60.183:80 CLOSE_WAIT
TCP 192.168.1.2:1496 77.250.60.183:80 CLOSE_WAIT
TCP 192.168.1.2:1497 209.85.167.167:80 CLOSE_WAIT
TCP 192.168.1.2:1498 209.85.167.167:80 CLOSE_WAIT
TCP 192.168.1.2:1499 209.85.139.127:80 CLOSE_WAIT
UDP 0.0.0.0:445 *:*
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:1072 *:*
UDP 0.0.0.0:1090 *:*
UDP 0.0.0.0:1091 *:*
UDP 0.0.0.0:1098 *:*
UDP 0.0.0.0:1873 *:*
UDP 0.0.0.0:1875 *:*
UDP 0.0.0.0:1876 *:*
UDP 0.0.0.0:2048 *:*
UDP 0.0.0.0:4500 *:*
UDP 0.0.0.0:4750 *:*
UDP 127.0.0.1:123 *:*
UDP 127.0.0.1:1900 *:*
UDP 127.0.0.1:2113 *:*
UDP 192.168.1.2:123 *:*
UDP 192.168.1.2:137 *:*
UDP 192.168.1.2:138 *:*
UDP 192.168.1.2:1900 *:*
UDP 192.168.1.2:6646 *:*

-I only changed the httpd.conf file in order to run PHP and I have tried several different address and socket combinations for the LISTEN section
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 26 May '08 7:45    Post subject: Reply with quote

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING

If Apache was not running when you did the netstat, something is listening already on Port 80 & 443.
Back to top


Reply to topic   Topic: Could not bind to address View previous topic :: View next topic
Post new topic   Forum Index -> Apache