#IP allocations with docker compose

1 messages · Page 1 of 1 (latest)

plush harbor
#

For the IP and port that I allocate, do I need to expose that port in my docker compose file for the server to start correctly? I am getting the "cannot assign requested address" error when trying to start up my server. I am pretty certain I am using the correct IP and am using an available port.

tight compass
#

Show the internal IP you're trying to use as well as the output of ifconfig, censoring part of any public address if you wish.

plush harbor
#

I am running docker on a windows machine, would you want ifconfig on my wsl2 Unbuntu enviroment? or ipconfig on my windows system? ip config gives me:

Ethernet adapter Ethernet:
   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::1012:9be:fbaa:2297%6
   IPv4 Address. . . . . . . . . . . : 192.168.1.71
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

and my allocated ip is 192.168.1.71:7474

#

@tight compass ifconfig on the WSL2 environment is: ```
ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.31.179.55 netmask 255.255.240.0 broadcast 172.31.191.255
inet6 fe80::215:5dff:fe39:bcac prefixlen 64 scopeid 0x20<link>
ether 00:15:5d:39:bc:ac txqueuelen 1000 (Ethernet)
RX packets 7160 bytes 1749038 (1.7 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 283 bytes 20942 (20.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

#

ifconfig of my panel gives me:

eth0      Link encap:Ethernet  HWaddr 02:42:AC:50:00:04  
          inet addr:172.80.0.4  Bcast:172.80.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:463226 errors:0 dropped:0 overruns:0 frame:0
          TX packets:749876 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:52608879 (50.1 MiB)  TX bytes:271957298 (259.3 MiB)
#

I tried 192.168.1.71:7474, 172.80.0.4:6622, and 172.31.179.55:5522 and all of them gave the same error driver failed programming external connectivity on endpoint xxxx listen tcp4 xxx.xx.x.x:xxxx: bind: cannot assign requested address

valid lotus
#

you're trying to run pterodactyl on windows?

eternal oxideBOT
#

Let's clear some stuff up since it appears we're discussing running on Windows.

1.) The Panel will run fine on a Windows machine. You'll need to figure out how to get it running, we do not offer any support.
2.) Wings will not run on Windows.

In all, we do not recommend trying to run any of this software on Windows, you'll be completely on your own.

Please see the following for our currently supported systems: https://pterodactyl.io/wings/installing.html#supported-systems

plush harbor
tight compass
#

Yeah that's not going to run well... WSL was never meant for servers.