| View previous topic :: View next topic | | Author | Message |
|---|
Guest
| Posted: Thu Nov 16, 2006 9:08 pm Post subject: Can't connect to server using internet IP |
| Hello, I am using Apache 2.0.59 on two machines. On this machine, I can access the Apache server using my internet IP address. On the machine sitting next to this one, I can not. The router setup is correct, I even tried changing the system's IP. I can access it through its local IP address but not the Internet one, even through the local network. The Windows Firewall is off on both machines. I know it isn't the httpd.conf file because I use the same one on both machines. It has to be something else! Please help! Thanks. |
| | Back to top | |  | Mark Guest
| Posted: Fri Nov 17, 2006 9:18 am Post subject: Re: Can't connect to server using internet IP |
| johnsonsamc@gmail.com wrote in news:1163725716.156182.211180 @h54g2000cwb.googlegroups.com:
| Quote: | Hello, I am using Apache 2.0.59 on two machines. On this machine, I can access the Apache server using my internet IP address. On the machine sitting next to this one, I can not. The router setup is correct, I even tried changing the system's IP. I can access it through its local IP address but not the Internet one, even through the local network. The Windows Firewall is off on both machines. I know it isn't the httpd.conf file because I use the same one on both machines. It has to be something else! Please help! Thanks.
|
Not near enough information... You say your router setup is correct, but no information is given. Typically, you can only route a port to one machine. For example, the standard http port 80 can only be routed to one of your internal ip addresses. In order to have two web servers inside your network but both visible to the outside world they would have to be on different ports. One server on port 80 serving standard http request, and the other a secure server on port 443. Then you can see both servers from the internet. Each operating on a different port. So, since not enough information is given it is confusing as to how you actually want it set up. They definately CANNOT use the same httpd.conf file if they start apache on different ports. The only way this can work for you is with two different external ip addresses, or through proxy. Give us more info and we can provide more specific help. ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- |
| | Back to top | |  | shimmyshack Guest
| Posted: Fri Nov 17, 2006 10:14 am Post subject: Re: Can't connect to server using internet IP |
| Mark is right, you havent really told us what you are trying to do, if you really want to use the same port for say two different domain names, then you will have to tell your router to port forward to machine A which then proxies all requests for the new domain name to machine B that way you can have two computers running apache on port 80 from the point of view of outsiders. However Mark is right, the two httpd.confs cannot be the same, one will have to be set up to proxy trhoguh the other. This setup would only be sensible anyway if B had some software on it you needed to use for an application which you didnt want to ( or couldnt) run on A. I have a few servers here at home, but my router is set up to port forward to only one, the requests for the others are handled via the proxy module on the main server, however dont go setting up a proxy unless you know what you are doing. Or read the docs very carfully and get advice first. |
| | Back to top | |  | PurrBall Guest
| Posted: Fri Nov 17, 2006 4:26 pm Post subject: Re: Can't connect to server using internet IP |
| The two servers will not be running at the same time. Port 80 is set to 192.168.1.102 in the router set up. However, since before I said I had tried setting that computer with the same IP that this machine is on, then that is obviously not the problem. This computer won't be a server machine anymore. I am using that machine as a dedicated server. Thanks. shimmyshack wote:
| Quote: | Mark is right, you havent really told us what you are trying to do, if you really want to use the same port for say two different domain names, then you will have to tell your router to port forward to machine A which then proxies all requests for the new domain name to machine B that way you can have two computers running apache on port 80 from the point of view of outsiders. However Mark is right, the two httpd.confs cannot be the same, one will have to be set up to proxy trhoguh the other. This setup would only be sensible anyway if B had some software on it you needed to use for an application which you didnt want to ( or couldnt) run on A. I have a few servers here at home, but my router is set up to port forward to only one, the requests for the others are handled via the proxy module on the main server, however dont go setting up a proxy unless you know what you are doing. Or read the docs very carfully and get advice first. |
|
| | Back to top | |  | |
|