This message was deleted.
# rancher-desktop
a
This message was deleted.
o
I forgot somme infos : I use rancher-desktop 1.4.1 on Windows with kubernetes desactivated The Firewall rule comes from the Rancher desktop FAQ The ip adress resolved for host.docker.internal is vEthernet (WSL) on ipconfig on host
c
@orange-thailand-83295 what is the entry for
host.rancher-desktop.internal host.docker.internal
in the /etc/hosts “?
Rancher desktop by default points the
host.rancher-desktop.internal host.docker.internal
to wsl interface
vEthernet (WSL)
IP address. If this does not meet your requirement or you may need to point those entries to other IP address other than WSL interface itself, you can manually do this.
o
Thank's for your answer. The IP is Ok for me but I don't understand why I can't request it. ping or curl 172.17.32.1 (In my case) from container should work, no ? Have I missed something ? Sorry for my bad network knowledges and thank's for your help
(What I need is to send request to my Wilfly server hosted on Windows from my container)
c
what IP address or network interface is you Wilfly server is listening on?
Also, can you please confirm if the firewall rule is actually created? it looks like the requests are getting blocked by the firewall
o
My Wildfly server is on localhost:8080 (Windows) Result of
Get-NetFirewallRule -DisplayName WSL
Copy code
PS C:\WINDOWS\system32> Get-NetFirewallRule -DisplayName WSL


Name                  : {4ee8a2d5-388a-41cd-a0b6-a97a4ffd56b2}
DisplayName           : WSL
Description           :
DisplayGroup          :
Group                 :
Enabled               : True
Profile               : Any
Platform              : {}
Direction             : Inbound
Action                : Allow
EdgeTraversalPolicy   : Block
LooseSourceMapping    : False
LocalOnlyMapping      : False
Owner                 :
PrimaryStatus         : OK
Status                : La règle a été analysée à partir de la banque. (65536)
EnforcementStatus     : NotApplicable
PolicyStoreSource     : PersistentStore
PolicyStoreSourceType : Local
I can ping WSL from container I can ping Windows (172.17.32.1) from WSL But I can't ping Windows from container
a
I am facing same issue. Does anybody help in it?
151 Views