I try to implement a simple ServerSocket but when I ask for the IP address, it return the address of my VirtualBox Ethernet adapter instead of my real network IP address. How can I force it to use a particular Ethernet adapter?
In Control Panel / Network Connections, go to the menu "Advanced/Advanced Settings" and then change the order of your connections. That could solve the problem
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.