Windows-based Server-side Programming Problem

I wonder if this is the right place for this? If it isn't, please let me know of the right place and I'll try to have it moved (or a mod could move it).

Anyway. I'm having trouble configuring Apache and Wamp on my Windows 10 laptop. I want to do CGI programming with C++, but right now I'm stuck on the configuration step.

When I try to enter "httpd" (without the quotes) into Administrator Command Prompt, I get the following error and warning messages:

C:\Apache24\bin>httpd
AH00112: Warning: DocumentRoot [C:/Apache24/docs/myproject.com] does not exist
AH00112: Warning: DocumentRoot [C:/wamp64/www/myproject.com] does not exist
AH00548: NameVirtualHost has no effect and will be removed in the next release C:/Apache24/conf/httpd.conf:527
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:80
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs


What should [::]:80 and 0.0.0.0:80 actually be? I tried to make it 8.8.8.8:80 for the Google DNS server on the httpd.conf file on Wamp's directory, but I don't know why it doesn't see that. Should I have downloaded Apache into where my Wamp installation is?

Do I have to do something to my Windows Sockets for this to work, too? I'm guessing this from what it says about socket permissions.
Try setting the destination address to loopback instead of catch all.
Well, I was able to configure Wamp correctly some time after that post (after a lot of research and stuff), but I also need to know how to make my local host serve up pages I write.

Since I like Dragons a LOT (you can tell by my username, no? lol), I named the virtual host "dragonsoman," but I don't know how tell Wamp that it has to use that as the main virtual and local host.

I'd also like some advice on server-side scripting languages. Would it be good to stick to Python and C++, or would that not be good and I should stick with Python and other languages such as PHP, MySQL, MongoDB, etc.? I'm taking a CS course on edX that's teaching C and will go into HTTP, HTML, CSS, Python and MySQL for Web Programming, and I'm also doing FreeCodeCamp which is teaching the MEAN Stack (I've put it on hold until I complete the above course, though).

I also have Stroustrup's intro C++ book that I've downloaded, too.

I don't know any Calculus, but I want to learn it and any other math stuff I'd need to write good apps with a GUI for Desktop and Mobile, I also want to be able to create good Web apps. I'll try to create a website to put my portfolio in, but aside from that I want to focus on mainly Web apps rather than Web sites.

Would doing this be a good idea? I'm 26, by the way, and brother-in-law, who works as a recruiter for a programming company (C++), recently found that Web has more demand and he and my brother keep telling me to stick only to Web so I can make money quick, but I've also read that those who can do all three have more value. I'm not saying that I don't think my brother and brother-in-law are wrong or that they're dumb/crazy (of course I wouldn't think that), but I also want to have more value and I don't want to limit myself too much to just one thing.

I'm really sorry for the long post, but I really do need some advice and help.
Last edited on
Topic archived. No new replies allowed.