Jump to content

Apache server doesn't work on outside connections


RandomZero

Recommended Posts

I installed XAMPP on my PC and everything works, but sometimes people can't see my site.

I'm thinking it has something to do with the fact that I have a dynamic IP and 2 NICs, so I can't actually set an IP for apache to listen on.

 

Anyone have an idea on preventing apache to listen on both NICs and set it up for the one with a dynamic IP?

Link to comment
Share on other sites

Yeah I've got that all set up.

 

Let me explain my situation a little further.

 

 

I'm running vista, with 2 nics.

One nic is connected to my modem, which gives my pc a public, dynamic IP.

The 2nd nic is set up for ICS to my 2nd pc, which isn't point to the internet at all.

 

What i want to do is set up apache to only listen on my first nic, and not both. Which is possibly causing this problem of mine.

When I visit the url of my server, it works fine, but if someone else tries it, it doesn't. Most of the time after someone else tries it, it doesn't even work for me until I restart apache..

 

So I'm looking for a way to not have to restart the server every time it happens.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.