Hello. if you are using the port 8080 that goes over the nat of virtualbox.

Try to use the ip set from private_network. ifconfig will show you the ip,
and try with that ip as test.

If does better, you can put a fixed ip, and use that ip that will be
directly from host to vm without nat.
You will be using a virtual nic on the guest, so you could test different
virtual nics and see if that does any better.

Alvaro

On Thu, Jan 14, 2016 at 4:18 AM, mario rossi <[email protected]> wrote:

> Hi, I recently updated to the latest version of Vagrant (1.8.1) and for
> some reasons it is now _very_ slow to upload files via http.
>
> I use NFS and I can successfully copy huge files between shared mounts at
> a decent speed, but port 80 is really really slow.
>
> I tried different uploaders, so it's not something with the code. do you
> have any idea of what it could be?
>
> VAGRANTFILE_API_VERSION = "2"
>>
>> Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
>>>
>>   config.vm.hostname = "poorthing"
>>>
>>   config.vm.synced_folder ".", "/localhost", type:"nfs", :mount_options
>>> => ['nolock,vers=3,udp,noatime']
>>
>>   config.vm.network "forwarded_port", guest: 80, host: 8080
>>
>>   config.vm.network "forwarded_port", guest: 15672, host: 15672
>>
>>   # Required for NFS to work, pick any local IP
>>
>>   config.vm.network "private_network", type: "dhcp"
>>
>> end
>>>
>>
>
>  thank you
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/13f3833c-5c5d-49ff-b1b4-784aa0b6b681%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/13f3833c-5c5d-49ff-b1b4-784aa0b6b681%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0exvbw2hOR2BhSgZja_Cof_WD%3DW%3D315Y2vvnvO5c8wM-ag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to