B4J Question Server.GetMyIP return the address of my VirtualBox network adapter

Toley

Active Member
Licensed User
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?
 

Toley

Active Member
Licensed User
Ok I have disable the VirtualBox Network adapter in the Device manager and now it took the correct IP address.
 
Upvote 0

jmon

Well-Known Member
Licensed User
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
 
Upvote 0
Top