in reply to Re^7: Missing module perl
in thread Missing module perl

if i access http://localhost:80 isn't connect, but if i set http://my-ip-addres-vbox is work.

I set file:// in urllist in cpan development ?

Replies are listed 'Best First'.
Re^9: Missing module perl
by Corion (Patriarch) on Aug 21, 2019 at 09:40 UTC

    Yes, you use file:// where you would otherwise use http://.

    If you see your CPAN mirror using http://my-ip-addres-vbox in the browser, then the web server configuration you've shown does not match the actual configuration:

    <VirtualHost localhost:80>

    This means that the web server will only run in your virtual box and only listen to the localhost interface there.

    Do you want to make the CPAN mirror available within that virtual box, or to machines outside of that virtual box? If you want to make it available outside of that virtual box, file:// will not work. Then you will need to use http://, but the web server configuration you've shown does not look as if the web server (or rather, the CPAN mirror part of that webserver) would be reachable from outside that virtual box.

      so, what do I need to set in the web server configuration to be accessed virtual host?

        I don't know. You have not told us what webserver you are using and what the exact situation is. Configuring a web server is not really the central focus of this website. If you are running Apache, I suggest reading the documentation at https://www.apache.org.