Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My apache is not working when I have a wingate client running

Status
Not open for further replies.

luisgabriel

Programmer
Jan 22, 2003
4
MX
I have a problem when running apache in a windows computer that has a wingate client installed for sharing a high speed internet connection. In fact, it works and has been working when the wingate client is off. If I turn the wingate client off and restart my computer, the apache server works fine, except sometimes when it just gets stock and windows displays some kind of "tty" problem. However, it will not run without restarting my computer, having the wingate client off. I don´t know what this "tty" thing is and the only thing i want is to get both of them running at the same time. I thought there was some conflict with the ports each program uses and tried changing the apache port in the httpd.conf file. Here is a summary of the errors that ocurred when doing this:

When changing the default port (80) to some other port like port 88 and restarting apache, i get an error message in the error log like this:
[Tue Jan 21 17:48:11 2003] [crit] (2)No such file or directory: make_sock: could not bind to port 80

When changing the default port (80) to some other port like port 8088 and restarting apache, i get an error message in the error log like this:
[Tue Jan 21 17:46:07 2003] [crit] (10045)(FormatMessage failed with code 317): Parent: WSADuplicateSocket failed for socket 112.
[Tue Jan 21 17:46:07 2003] [error] (2)No such file or directory: master_main: create child process failed. Exiting.
[Tue Jan 21 17:47:07 2003] [error] forcing termination of child #0 (handle 232)

I did a netstat -n over DOS and found as active connections port 1085 in my machine talking to port 2080 in the server and port 4838 in my machine talking to port 4816 in the server.

Anyone has some idea of what's going on? Any help will be greatly appreciated.
 
When you have Wingate running, can anybody from outside your localnet access your site? The reason I ask is because, it may be that only your local network can't access the server. I had the same problem with my router not allowing local traffic to pass through to the server. I enabled IPSec (UDP protocol)on port 500 and PPTP (TCP protocol) on port 1723. I don't know how you would do this with Wingate because I've never used it, but I hope it gives you a place to start.
 
In fact, I´m using apache for web development with php, but it´s not actually holding any site. I only use the wingate client for internet access. Any idea?
 
I'm not too familiar with Wingate, but it must perform NAT. So you probably need to have wingate forward port 80 to whatever internal ip address your pc is on.
 
My internal network ip address is 10.1.2.2 and the wingate client doesn´t offer many configuration options except for the wingate server addresses and ports and the applications treated specially.
 
If you're using wingate to share the broadband connection, I assume there are other computers on your network. With wingate and apache running, go to one of the other computers, open the browser and type If you get your web page, apache is running fine, you just need to figure out how to allow access through wingate on port 80.
 
Thanks, but the problem is that apache is not running at all when the wingate client is running. I can´t get the webpage in other computers on the LAN because of this, and i can´t even get my web pages in my computer (with both apache and the wingate client installed) Any other idea?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top