lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Connection problem within VM


From: Siebren Vroegindeweij
Subject: [lwip-users] Connection problem within VM
Date: Tue, 26 Jan 2016 08:20:27 +0100

 

Hello everyone,

 

I am using lwIP(version 1.4.1) in a to Windows ported FreeRTOS(version 8.1.2) which runs on a Windows 8.1 virtual machine. The virtual machine uses NAT to get an IP address.

The application that I have made in this environment is a rather simple webserver which uses the raw lwIP API.

 

When I am on the host computer I am capable of reaching the webserver by using a web browser and typing in the IP address that I have given the network interface of my application (as long as it is in the same range as the IP address of the virtual machine). So far no problem and the application does what I expect it to do.

 

However when I try to access the webserver on the virtual machine itself it does not work.

By using Wireshark I have seen that a request is send from the web browser in the virtual machine to the application, but it won’t get any response. lwIP also does not perform a callback to the function that I have set using tcp_accept().

Does anyone know by what this is caused and/or how to fix this?

 

As reference I have tried to compare it to a demo project that I found on the internet:

 

http://interactive.freertos.org/entries/20290712-FreeRTOS-Win32-project-with-lwIP-web-server

 

Unfortunately from my setup it is not possible to access the application running in this project from within the virtual machine as well as from the host. Which leaves me with not much help.

 

I am rather new to lwIP and this mailing list, so please have patience with me.

If you are missing information, please let me know.

 

Any help would be much appreciated.

 

Yours Faithfully,

 

Siebren


reply via email to

[Prev in Thread] Current Thread [Next in Thread]