external access with wamp

7

I wanted to know how others can access my webserver. I already released port 8080 and the icon is green. I can also access local with 192.168.0.10:8080 however if I use my ip along with: 8080 does not connect. Anyone know?

    
asked by anonymous 16.02.2015 / 19:57

1 answer

9

It is recommended that you hire a professional service such as a "hosting" of professional sites and upload via FTP or SSH (or SFTP) to the public_html or% much of the server.

But if you really want to free your computer for external access, perhaps to work outside the home, then:

  • Set the IP of your machine (to prevent ip changes from DHCP)
  • Search your router for VirtualServer (each router is in a way you can not specify)
  • There should be a location written "Foward", in this field type your fixed ip (in the case www )
  • There are probably 3 or 5 fields:
    • Protocol / Type: Select TCP
    • Port Start: Enter 8080 (both local and 192.168.0.10 )
    • Port End: Enter 8080 (both local and external )
    • In Port Start and Port End for external you can put another port (usually 80 is blocked by your ISP or already configured on the router). >
  • Restart the router (not always necessary)
  •   

    Important note , in case I used it with external it might also be blocked, so you can try other ports like 8080 , 9000 , etc.

    The home internet connection IP is usually random, to know what your ISP will need to visit some website that states this, however you can "apply domain" to your home server.

    You can use services like:

    Many routers have no-ip service available (of course you need to create an account), but often the router is outdated and does not work as expected, in this case it is best to install the no-ip software.

    How to configure no-ip:

  • Create an link account at the bottom of the form click the Free Sign Up .
  • After confirming the account and logging in, you must add a host or domain to your account, go to Add Host:

  • Toaddahosttoyouraccount,selectthe"Add Host" link from the "Hosts / Redirects" menu:

  • ChoosetheDNSHostA

  • SelectafreeHostNameas9001
  • Ifyourequestanemailservice("Choose Email Service"), select the I do not need email services at this time option, follow the image example:
  • Now something very important, you will need to install software on your machine to solve the problem of dynamic ip:

    • If you are using Windows, download this link: link
    • If you are using Linux download from this link: link
    • If you're using Mac, download this link: link
  • When you install the software it will ask for authentication, it is the same as the one you created.
  • After connecting through the software it will list all your hosts (in case there should only be one), "check" the field and then click "Refresh" (in the software has a button to update the IP).
  • Now type in the web browser the name you selected and the port that you released on the router, it should look something like:

    http://meusite.no-ip.biz:8080
    

    If you used another port such as 9000 go to:

    http://meusite.no-ip.biz:9000
    

    And so on:

    http://meusite.no-ip.biz:9001
    http://meusite.no-ip.biz:9002
    http://meusite.no-ip.biz:9003
    
        
    16.02.2015 / 21:48