•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Linux Servers and Apache section within the Tech Talk category of DaniWeb, a massive community of 456,583 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,596 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Linux Servers and Apache advertiser: Programming Forums
Views: 3988 | Replies: 21
![]() |
Okay sorry, the real error message is:
root@server:/home/httpd/bin# apachectl start
(99)Cannot assign requested address: make_sock: could not bind to address 192.168.0.1:80
no listening sockets available, shutting down
Unable to open logs
And yes, I have googled and researched this problem myself before coming to the forums. Everyone else seemed to solve the problem by listening to any ip address at the specific port. This does not work for me..
192.168.0.1 is the address of my router.. however, it is properly configured to forward all http (port 80) traffic to the server. The server's ip on the LAN is 192.168.0.101.. Thanks for any further suggestions.
root@server:/home/httpd/bin# apachectl start
(99)Cannot assign requested address: make_sock: could not bind to address 192.168.0.1:80
no listening sockets available, shutting down
Unable to open logs
And yes, I have googled and researched this problem myself before coming to the forums. Everyone else seemed to solve the problem by listening to any ip address at the specific port. This does not work for me..
192.168.0.1 is the address of my router.. however, it is properly configured to forward all http (port 80) traffic to the server. The server's ip on the LAN is 192.168.0.101.. Thanks for any further suggestions.
Okay, I resolved that issue (apparently I must have installed apache in two different locations or something.. the apache demean in /home/httpd/bin was actually executing a httpd.conf file in /etc/httpd for whatever reason... (I was editing the httpd.conf file in /home/httpd/conf) =(
Now I am able to actually start the httpd, HOWEVER I believe it is only accessible from my LAN. When I ping 'schulte.homelinux.com' from my lan it correctly identifies the ip, and has 0% packet loss. When I ping from outside the lan, then schulte.homelinux.com correctly resolves the correct ip, but the ping fails with 100% packet loss.
Now I am able to actually start the httpd, HOWEVER I believe it is only accessible from my LAN. When I ping 'schulte.homelinux.com' from my lan it correctly identifies the ip, and has 0% packet loss. When I ping from outside the lan, then schulte.homelinux.com correctly resolves the correct ip, but the ping fails with 100% packet loss.
Last edited by joshSCH : Nov 2nd, 2007 at 12:54 am.
ping is ICMP and has nothing to do with http and port 80. try from outside to "telnet your.server.wan.ip 80"
anyhow, can you access the webpage from within the LAN? we have to locate the problem to either the router, or the httpd server
anyhow, can you access the webpage from within the LAN? we have to locate the problem to either the router, or the httpd server
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)
BA BizMg, MCSE, DCSE, Linux+, Network+
BA BizMg, MCSE, DCSE, Linux+, Network+
Okay, here are the results from accessing the webpage from the LAN:
Typing schulte.homelinux.com fails
Typing the public ip address fails
However, typing the private ip address of the server does pull up the "It Works!" apache default webpage.
so... does this mean there is something wrong with my router forwarding traffic to the http server? Or perhaps my isp? Maybe there is something I have done wrong in the configuration files..
Typing schulte.homelinux.com fails
Typing the public ip address fails
However, typing the private ip address of the server does pull up the "It Works!" apache default webpage.
so... does this mean there is something wrong with my router forwarding traffic to the http server? Or perhaps my isp? Maybe there is something I have done wrong in the configuration files..
Last edited by joshSCH : Nov 2nd, 2007 at 6:35 pm.
•
•
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 12,883
Reputation:
Rep Power: 32
Solved Threads: 305
you might not have enough memory?
I know that MySQL says "cannot create socket" if you have under 256ram, and it intermittently refuses connections. Maybe the same thinking applies to apache?
I know that MySQL says "cannot create socket" if you have under 256ram, and it intermittently refuses connections. Maybe the same thinking applies to apache?
TRY MY SUGGESTIONS AT YOUR OWN RISK
Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
![]() |
•
•
•
•
•
•
•
•
DaniWeb Linux Servers and Apache Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
apple bbc cd cellphone choose code computer core debian dell desktop development drivers enterprise fedora fiji games gentoo gpl hardware ibm infrastructure install kernel laptop linux marketing microsoft mobile news novell open open source openoffice operating os palm preinstall red hat rhel security server source sun system ubuntu unix vista web windows
- What's better? Windows 2000 Server or Linux Server? (Windows Servers and IIS)
- INSTALL PHP on XP HOME-edition with APACHE (PHP)
- IP address not resloved in Apache (Linux Servers and Apache)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
- Apache mod_rewrite with Google Ads (Linux Servers and Apache)
- integrating apache and tomcat (Linux Servers and Apache)
- Apache For Windows (Linux Servers and Apache)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: regarding connection establishment through
- Next Thread: Linux Server - .Net Application <gulp!> ??



Linear Mode