Page 1 of 1

NAT and Host only Network issues

Posted: 7. Nov 2013, 14:14
by babacuek
Hey,

Im very new in virtualbox, i spend a few hours, solved a lot of issues, but one thing i cant :( :


On my host (Win7) there is a mediawiki running on apache.
I run a mwlib render server under Ubuntu 10.04 in Virtualbox.

They can can connect bidirectional when i set "Host only adapter".
The rendering is beatiful on ubuntu console, but when i try it direct in mediawiki there come an error :
"<ur lopen error [Errno 67] request timed out>".


When i add a second adapter, this time "nat", the rendering in console works again.
In mediawiki direct there is:
"HTT P Error 407: Proxy Authorization Required in function system".

So i tried to set htt p_proxy and added Aquire::htt :.... in /etc/apt/apt.conf - it changed nothing.
Oh, sorry, it does: rendering in console doenst work anymore :D


I think i dont need any proxy between host and guest.


So here my questions:

1. Why says NAT "Proxy Authorization Required? i dont want in internet :D
2. Do i need NAT or should Host only be enough?
3. In this "package" there is a webserver (nslave) - if i have only 1 adapter, this hast to be NAT, in other case i cant start him - error : network unreachable. So i started it, changed the adapter - this isnst the best solution, is it ^^? With both adapter i can start him.


Sry for the questions, like i said, im very new in such "virtual network things".

Would be verys appreciated if someone could help me out here,


Regards

Re: NAT and Host only Network issues

Posted: 7. Nov 2013, 14:19
by mpack
The purpose of NAT is to share the host's external network access. If you don't need that then yes, you could perhaps use host-only instead.

Re: NAT and Host only Network issues

Posted: 7. Nov 2013, 14:41
by babacuek
ok thank u.

Do u have an idea, why the guest can connect the host with
"mw-zip -c htt p://HOST_NAME/mediawiki -o test21.zip "ArticleName"

and browse the wiki with firefox on guest system


but when i execure this from wiki directly it fails :D?


Regards