Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Discussions related to using VirtualBox on Windows hosts.
Post Reply
_Hassan_
Posts: 6
Joined: 7. Jan 2016, 13:05

Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Post by _Hassan_ »

Hi all, I have:
Windows 10
VB 5.0.12
Ubuntu Server 14.04 (no GUI)

Ping from host to guest is ok, but I cannot reach a web server created with Node.js from my host.

Fighting with this for two days :(
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Post by socratis »

Minimum information needed for assistance.
As far as the "VBox.log.zip goes", here's what you do:
- Start the VM.
- Observe the problem.
- Shut down the VM.
- Right-click on the VM in the VirtualBox Manager.
- Select "Show Log..."
- Save it, ZIP it and attach it in your response.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
_Hassan_
Posts: 6
Joined: 7. Jan 2016, 13:05

Re: Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Post by _Hassan_ »

socratis wrote: As far as the "VBox.log.zip goes", here's what you do:
- Start the VM.
- Observe the problem.
- Shut down the VM.
- Right-click on the VM in the VirtualBox Manager.
- Select "Show Log..."
- Save it, ZIP it and attach it in your response.
Thanks for your time. The VM is not showing any error in the command line nor in the log. The problem is the Host cannot reach the Guest's localhost when I type its address (ip:port). As I said, ping from host works fine but not telnet guest_localhost:port (192.168.1.108:3000). Another thing which is working normal is file sharing for instance. So I don't know what or where the problem is. I'm thinking it's a bug in Windows 10 or in VB 5.0.12.
Anyway, logs are attached.
Attachments
VBox Logs.zip
Logs
(35.84 KiB) Downloaded 2 times
Last edited by _Hassan_ on 7. Jan 2016, 16:04, edited 1 time in total.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Post by scottgus1 »

Silly question, true: guest firewall?
_Hassan_
Posts: 6
Joined: 7. Jan 2016, 13:05

Re: Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Post by _Hassan_ »

scottgus1 wrote:Silly question, true: guest firewall?
Nop. I've just installed Ubuntu 14.04 and guest additions
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Post by Perryg »

Ping from host to guest is ok, but I cannot reach a web server created with Node.js from my host.
This suggests that the network stack is working and the real issue probably resides in the web server configuration.

Note: the firewall is not on by default in the Ubuntu server guest, but it might be on the host. Try using wireshark to see where the server call is being stopped.
_Hassan_
Posts: 6
Joined: 7. Jan 2016, 13:05

Re: Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Post by _Hassan_ »

Perryg wrote:
Ping from host to guest is ok, but I cannot reach a web server created with Node.js from my host.
This suggests that the network stack is working and the real issue probably resides in the web server configuration.

Note: the firewall is not on by default in the Ubuntu server guest, but it might be on the host. Try using wireshark to see where the server call is being stopped.
Here is the code how I created the server. I'm new with JavaScript but I assumed this is ok according to the Lynda tutorial I'm watching.

I'll check how to use wireshark.
Attachments
Code
Code
serverJS.png (116.62 KiB) Viewed 1661 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Post by Perryg »

I assumed this is ok according to the Lynda tutorial I'm watching
Why are you not talking to Lynda? It is after all their tutorial.

I know people want to just assume that all their issues are due to VirtualBox but in fact most are not. You have demonstrated that the network stack is actually working so the next step would be to find out why the end point is not replying as you expect.
_Hassan_
Posts: 6
Joined: 7. Jan 2016, 13:05

Re: Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Post by _Hassan_ »

Perryg wrote:
I assumed this is ok according to the Lynda tutorial I'm watching
Why are you not talking to Lynda? It is after all their tutorial.

I know people want to just assume that all their issues are due to VirtualBox but in fact most are not. You have demonstrated that the network stack is actually working so the next step would be to find out why the end point is not replying as you expect.
You might be right. However, I assumed the code is ok is because I'm watching a video tutorial where things are working plus because I've read a lot about this issue since yesterday and I've found lots of questions about with no answer.
Additionally, (and better we should focus on this) why I think the problem is not in the code is because telnet command shows error in the connection to the guest in the port given. (ping ok, telnet not ok).
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Post by Perryg »

Ok and why do you not think this is the guests issue?

I really think you are chasing red herrings here. First I would make sure that the web server is working as it is supposed to and is configured properly. Since node.js is an application I would leave it out of the equation until you verify that the server is actually replying as it should. Then after you have verified that, add the next step in and test it.

Anyway good luck and I will leave you with it. I only posted to let you know at this point it does not appear to be a VirtualBox issue and save you some time. If you can point to something that does indicate a VirtualBox issue I or someone else here will be more than happy to assist.
_Hassan_
Posts: 6
Joined: 7. Jan 2016, 13:05

Re: Windows 10 host VB 5.0.12 Ubuntu 14.04 Issue

Post by _Hassan_ »

Perryg wrote:Ok and why do you not think this is the guests issue?

I really think you are chasing red herrings here. First I would make sure that the web server is working as it is supposed to and is configured properly. Since node.js is an application I would leave it out of the equation until you verify that the server is actually replying as it should. Then after you have verified that, add the next step in and test it.

Anyway good luck and I will leave you with it. I only posted to let you know at this point it does not appear to be a VirtualBox issue and save you some time. If you can point to something that does indicate a VirtualBox issue I or someone else here will be more than happy to assist.
Thanks man. You are right. I've changed the code and server is working. :)
Post Reply