Timeline for docker exposed port not accessible from outside even when port is opened using iptables command
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 22, 2022 at 14:45 | history | edited | gapsf | CC BY-SA 4.0 |
added 86 characters in body
|
| Sep 22, 2022 at 14:39 | comment | added | Sash_KP | Thanks for your help @gapsf. However, i found issue. I had to enable ip forwarding in my linux server. Once i did that issue is resolved now. Will update the answer in sometime. | |
| Sep 22, 2022 at 14:30 | comment | added | gapsf | if in doubt read docker documentation and blog docker.com/blog/… "accomplish task efficiently". | |
| Sep 22, 2022 at 14:29 | history | edited | gapsf | CC BY-SA 4.0 |
added 82 characters in body
|
| Sep 22, 2022 at 14:23 | comment | added | gapsf | Just try... and you wiil see is it what you want. less talk and more action | |
| Sep 22, 2022 at 14:19 | comment | added | Sash_KP | I want to allow the access to everyone from any address to access the app through 9895 port. That's the reason i had given 0.0.0.0:9895:9898. Is my understanding wrong? | |
| Sep 22, 2022 at 14:18 | history | edited | gapsf | CC BY-SA 4.0 |
edited body
|
| Sep 22, 2022 at 14:10 | comment | added | gapsf | Obviously address you want to connect to from laptop to server | |
| Sep 22, 2022 at 14:06 | comment | added | Sash_KP | Which interface_ip we're talking about here? Is it eth0? I edited the post in order to show the result of ifconfig. Can you please have a look ? | |
| Sep 22, 2022 at 13:59 | history | answered | gapsf | CC BY-SA 4.0 |