Apache cannot be accessed by the extranet

Source: Internet
Author: User
How do I configure Apache to be accessed by the extranet?

I made it with Phpnow, I can access it locally.

Individually modify the http.conf inside the listen, put 127.0.0.1:80; change to my current IP reboot Apache will prompt
"The requested operation has failed!"

Win7 's firewall has been shut down (should not stop it), anti-virus software and security tools are also closed, or useless


Reply to discussion (solution)

Listen 80
Can

And then just type in my IP?

Listen 80
Can

Can I access it directly by entering my IP?

Listen 80
Can

Meet the great God by the way ask a little more.

http conf inside of the listen is can be arbitrarily added listening to the address?

For example, I want to listen to two addresses.
Listen XXXXXX
Listen ******
Want to listen to two ports
Listen 80
Listen 8080
.......

It should be like this.
However, you also need to bind to the virtual machine

It should be like this.
However, you also need to bind to the virtual machine
How does a binding act? For example, I use my own computer to do the server, no domain name, direct access to IP.

Apache How do you go to the extranet, have a separate IP, virtual host?

Apache How do you go to the extranet, have a separate IP, virtual host?

is to say that people visit me ....
Why can't you?
My computer is the server, why also want to virtual host, even if you want to use Apache can build a AH
IP with dynamic also can ah, as long as a short time can access me, and can dynamically resolve the domain name, with the domain name is not done ...
How to think is possible AH. Depressed

It should be like this.
However, you also need to bind to the virtual machine

You should make me so guilty. Help people in the end.

Give me more information.


also tried listening 8080;
Local access can be, intranet access can also, enter the public network IP can also.

After disconnecting the network, local access can be, the intranet can also, the public network IP is not.

This is the situation now, what is wrong?

Router? What network environment, school? Determine the extranet IP and network card IP is one?

Router? What network environment, school? Determine the extranet IP and network card IP is one?

It's a school. The external IP is detected with another tool, which is the IP of the route


Apache How do you go to the extranet, have a separate IP, virtual host?

is to say that people visit me ....
Why can't you?
My computer is the server, why also want to virtual host, even if you want to use Apache can build a AH
IP with dynamic also can ah, as long as a short time can access me, and can dynamically resolve the domain name, with the domain name is not done ...
How to think is possible AH. Depressed if the local area network, directly take the IP can be accessed, you see other people's machine can ping through your machine.

If your computer is not a public computer, there is no mapping, others are unable to access, need to do mapping

If your computer is not a public computer, there is no mapping, others are unable to access, need to do mapping

is route forwarding. Did a

If it is a local area network, you can access the IP directly, and see if someone else's machine can ping your machine.

Yes

  • Related Article

    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.