external access with wamp

Asked

Viewed 7,977 times

8

I was wondering how other people can access my webserver. I have already released the 8080 port and the icon is green. I can also access local with 192.168.0.10:8080 but if I use my ip together with :8080 does not connect. Does anyone know?

  • 1

    You can use this site to check if your 8080 port is open for connections.

  • 1

    Is Apache configured to receive connections from your IP? It needs to be prepared to handle specific domain or IP requests or use a wildcard allowing everything. http://httpd.apache.org/docs/2.2/bind.html

  • The 8080 connection is open yes. Port 8080 is open on 177.81.xx.xx. I put my ip in Listen and it didn’t work.

  • @Asura Khan, I usually add the executable. Ex: C: xampp apache bin httpd.exe . I am currently using Xampp I believe that in Wamp do not change much (I refer this to a local network, if that is your goal).

  • @adrianosymphony I want an external network, that other people can access my site through my ip:port

  • @Asurakhan if you have an internal IP, you are probably using a router. The external IP therefore is not from your machine, but from the router. According to the answer given, you can give a forward, or if you just want to test, you can configure on the router a DMZ pointing to the server’s PC. Note that the DMZ ("demilitarized zone") will direct ALL ports to your PC, as if it is connected directly to the internet.

Show 1 more comment

1 answer

10


We recommend you hire a professional service as a "lodging" from professional websites and upload via FTP or SSH (or SFTP) to the folder public_html or www, depends a lot on the server.

However if you really want to free your computer for external access, maybe to be able to work outside the home, then follows:

  1. Fix your machine’s IP (to avoid IP changes by DHCP)
  2. Search your router for Virtualserver (each router is in a way not have to specify)
  3. There must be a location written "Foward", in this field type your fixed ip (in case 192.168.0.10)
  4. There are probably 3 or 5 fields:
    • Protocol/Type: Select TCP
    • Port Start: Type 8080 (both on site and on external)
    • Port End: Type 8080 (both on site and on external)
    • In the Port Start and Port End for external you can put another port (usually 80 is blocked by the ISP or already comes configured on the router).
  5. Restart the router (not always required)

Important note, in the case I used to 8080 it may also be blocked, so you can try other doors like 9000, 9001, etc..

The IP of domestic internet connection is usually random, to know your ISP will be necessary to visit some website that says this, but you can "apply domain" to your home server.

You can use services such as:

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 the best is to install no-ip software.

How to configure no-ip:

  1. Create an account on https://www.noip.com/sign-up at the bottom of the form click on the button Free Sign Up.
  2. After you confirm your account and log in, you should add a host or domain to your account, go to Add Host:

    Adicionar host ou dominio no no-ip

  3. To add a host to your account, select the "Add Host" link from the "Hosts/Redirects" menu":

    Hostpage

  4. Choose the option DNS Host A

  5. Select a free Hostname as meusite.no-ip.biz
  6. If you request an email service ("Choose Email Service"), select the option I don’t need mail services at this time, follow the example of the image:

Desativar serviço de e-mail

  1. Now something very important, you will need to install software on your machine to resolve the issue of dynamic ip:

  2. When installing the software it will ask for authentication, it is the same of the account you created.
  3. After connecting through the software it will list all your hosts (in case there should only be one), "check" the field and after clicking "Refresh" (in the software has a button to update the IP).

Now type in the web browser the name you selected and port you released on the router, should look something like:

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

If you have used another port like 9000 access:

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

And so on and so forth:

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.