Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I download appserv and install on my computer and set the default IP in my Default Gateway but when other people want to connect to my home server , they get the error of time out ! what am i going to do ? my server address :

192.168.210.230

and my firewall is now off. Also my antivirus.

share|improve this question

migrated from stackoverflow.com Jun 15 '10 at 21:49

This question came from our site for professional and enthusiast programmers.

    
The address you provided is an internal, private IP address. No one in the world is going to be able to connect to your server. –  Holocryptic Jun 15 '10 at 21:45
4  
Port forward from the router to the internal ip. –  gmcalab Jun 15 '10 at 21:46
    
port forwarding –  Pierreten Jun 15 '10 at 21:47

4 Answers 4

You need to do several things to set up a server application:

  • Open up the application's port on the computer you're running it on. (as a last resort you can simply turn off the firewall, but this is not as safe. If you have a router which you are behind, it shouldn't make much difference though if you trust the other people on the network).
  • On the router make sure to forward the application's port to the IP of the computer running the application. This is the local 192.168.210.230 IP that you gave before. This could change everytime you boot up your computer, so you might want to make sure to give the computer in question a static IP.
  • Start the application.
  • Finally give people the IP for your network which can be done using madcolor's method of going to http://whatismyipaddress.com/. This is your IP to the outside world, whereas the 192 is just IP that is given to you by the router.

To describe when is happening: Your friend types in the IP and his computer makes a request for that IP/port combination which gets sent by the ISP to your router (most applications run on a consistent port everywhere. For example web browsing is always done on port 80, so unless a different port is specified, it is always assumed. You will have to find out what port your application uses). Your router because of port forwarding recognizes the port number on its rules list and then sends the request to your computer's IP. If your computer has no firewall or the firewall is setup to let that port through, then your computer lets the packet be read by the application running on the said port.

share|improve this answer

That is a private, non-routable address. You will need to forward the appropriate ports in your router and connect via the router's WAN address.

share|improve this answer
    
what is the meaning of private, non-routable address ? is your mean my ip is invalid ? –  Eva Jun 15 '10 at 21:48
1  
@Eva See this: en.wikipedia.org/wiki/Private_network –  Holocryptic Jun 15 '10 at 21:56
    
+1 for not replying "RTFM tcp/ip" - I sincerely admit I was really tempted to do that. @Eva, yes you need some networking basics before engaging in stuff like this and the details of what you'll need to do will vary with the service you're trying to expose on the internet. –  Luke404 Jun 15 '10 at 22:52

http://192.168.210.230/ is a local IP. They'll need the IP you see here.. http://whatismyipaddress.com/

providing you've piped everything properly.

share|improve this answer

Here is a video tutorial on how to install and setup your own fedora webserver from scratch:

http://www.youtube.com/user/KlezHunter1#g/c/9045EDFD48751943

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.