Reputation
371
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 6 21
Impact
~55k people reached

Dec
31
comment Can't connect to Virtualbox web server (using Bridged Network)
Sorry for bringing this up again, but I have a similar problem. What am I looking for when I do iptables -L? I see ACCEPT and a few REJECT. However, following this page, I thought I had turned off my firewall completely. shellhacks.com/en/…
Dec
31
comment Does overclocking have any benefit on a processor that already has Intel Turbo Boost?
depends on how much you want to overclock and how much the turbo boost raises the clock speed to, and if there is a limit and delay on it.
Dec
31
asked Can ssh but can't access webserver
Dec
31
comment VirtualBox: ifconfig does not show my ip address
if adapter 1,2,3,4 does not matter, how does VirtualBox know which adapter on the VM side to bridge? e.g. enp0s3 vs. virbr0.
Dec
29
comment VirtualBox: ifconfig does not show my ip address
Right now it is on VirtualBox: Adapter 2, Bridged Adapter, Wireless LAN PCI (the right one I use on my host), Deny promiscuous mode, and cable connected.
Dec
29
asked VirtualBox: ifconfig does not show my ip address
Dec
28
answered Cannot access webserver on virtual machine from the internet
Dec
28
comment Cannot access webserver on virtual machine from the internet
I found what the problem was. Virtualbox creates two adapters, one NAT, supposedly for the ssh connection, and the bridged adapter that I asked for. If I disable the NAT adapter (ie. through VirtualBox), suddenly it works, and I can access the webserver from the internet. If I leave the NAT adapter in, I can only access the webserver from within my network (ie. other boxes). I'll do a writeup with screenshots in the answer.
Dec
27
comment Cannot access webserver on virtual machine from the internet
@xR34P3Rx, I'll write up a more detailed summary of what I did tonight.
Dec
27
comment Cannot access webserver on virtual machine from the internet
Not sure if this is a issue, but when I try to look at my "wireless clients" list on Airport, I cannot see my bridged VM (static IP). When I was using the wrt-54g, the most similar list I could find was the dhcp client list, which did not show the VM as well. Not sure if it would show up in the latter case as the VM has a static IP.
Dec
27
comment Cannot access webserver on virtual machine from the internet
@xR34P3Rx, I have tried both, but to no avail.
Dec
27
comment Cannot access webserver on virtual machine from the internet
@maudam, yes. Accessing from the host's browser works.
Dec
27
comment Cannot access webserver on virtual machine from the internet
@janos, yes, but I also move the webserver from host to vm when i test the vm_ip, and vice versa.
Dec
27
revised Cannot access webserver on virtual machine from the internet
added 354 characters in body
Dec
27
comment Cannot access webserver on virtual machine from the internet
That's possible. If that is the problem, I'm not sure why I can access the webserver on the VM from within the network, on other boxes. I have a macbook pro connected to the same router, and I simply type the static ip of the bridged VM, plus its port, in the browser, and can see the website.
Dec
27
comment Cannot access webserver on virtual machine from the internet
The information you requested is in the post, as code formatting.
Dec
27
comment Cannot access webserver on virtual machine from the internet
I thought I provided that information. On the VM I have two adapters. There is a NAT adapter for SSH connections I don't want to turn off, and another is the bridged connection assigned to a static IP. I can access the bridged connection from elsewhere in my network.
Dec
27
revised Cannot access webserver on virtual machine from the internet
added 89 characters in body
Dec
27
asked Cannot access webserver on virtual machine from the internet
Dec
27
asked What are the names of my network adapters? (Vagrant related)