How can I access a website through an Internet IP address?

Source: Internet
Author: User
How can I access the PHP router through an Internet IP address on a website?

A website built by the PHP framework,
127.0.0.1 no problem
How can customers remotely access their own routers and several machines?
A virtual server is added to the vro but cannot be accessed.
What should I do with the specific configuration? how do I map vro ports?


Reply to discussion (solution)

Most home networks and telecommunications have closed port 80, so the ING may be useless.

Try it with a peanut shell

It's not an electronic envelope. I asked a friend, but it's a large Lan, so I can't help it. I'll test it on a telecom tomorrow.

There is a simple question: Is your server configured with only 127.0.0.1 accessible.

I have tried it. Guangzhou Telecom, peanut shells, Port ing at home, and communication is unavailable.

Modify the hosts file and try changing the ip address

8080 is said to be okay?

It may be a port problem. after using a dynamic domain name, try to set other ports except 80 and 8080 on the vro. Now many carriers have blocked these two ports.

1. check if your system firewall has blocked requests to port 80.
2. configure port ING on the vro to map requests that access port 80 from your internet ip address to port 80 of your intranet ip address. Or directly set the IP address of your intranet machine to a dmz host on the vro.

There is a simple question: Is your server configured with only 127.0.0.1 accessible.

Although I have not been in the internet company
But I have been writing a program for seven years.
You should not ask such a simple question.
Besides 127.0.0.1, and localhost can also be accessed. of course, localhost: 80 can also be accessed.

You do not know how to set the listening port of apache config.

Now I found a PHP virtual space for trial use and put it on. I haven't succeeded in building a website at home yet. I didn't even know a friend whose home is a telecom network, over the past few years, programmers have been white.

The first problem I encountered was the NOD32 firewall. as a result, the Lan could not be accessed. Next, port 80 was blocked.
The LAN is accessible, and the people outside the Lan are inaccessible. port 8081 is used now. the domain name is the free DDNS in each step. the router directly resolves the domain name and performs very well in the telecom network. however, mobile networks (mobile access) often have no response from the Gateway. (Of course, there is no pressure on mobile phones and wifi );
By the way, I spoke about peanut shells. I often fail to resolve domain names. but I heard that the paid version is outstanding...

Intranet ING must be performed on the router on which you access the Internet, and then the server environment must be set up on the mapped machine to configure the site.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.