Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I've installed Ubuntu server 16.04 in a VirtualBox. If I try to install software with apt-get it works fine, but curl test.de or wget get.typo3.org/8.4.0 shows me that the host could not be resolved. The Adapter at the VirtualBox is NAT.
I had the same issue. I managed to solve it with this: unix.stackexchange.com/a/349365/239064 I would post it as an answer but I'm really not sure what's going on so I'll just leave it as a comment here
http_proxyenvironment variable.