#Switching Between 2 wifi Ip Addresses (Solved)

7 messages · Page 1 of 1 (latest)

fluid scaffold
#

Hello, i have pterodactyl on a repurposed pc and so far iv got everything to work except for the actual servers.

due to a personal issue i had to move temporarly for a couple months to my parents and am now using their wifi. so im trying to make the servers work with this new ip address 192.168.2.24
what iv done is go to node and then remake all the previous allocations using the new ip but also keep the previous allocations.
i then went to my server and assigned an additional port, changed the main game port to that additional port and then went to the game console interface page and checked network and make the new one the primary. but its still saying its failed to bind to the old ip.

[Pterodactyl Daemon]: Finished pulling Docker container image
container@pterodactyl~ Server marked as offline...
container@pterodactyl~ Error Event [9a542357-c890-4d50-a63e-3c78dbf5921c]: environment/docker: failed to start container: Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint eba1effa-5649-41c0-8bb3-5532f478755b (5f329520b34b98b304e5dd0bfb76b68c8fe0899cb6135b1eaf467dad4c261b6e): failed to bind host port for 10.0.0.96:30001:172.18.0.2:30001/tcp: cannot assign requested address
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------

If possible i would like to make it so i can go back and froth between between these connections because i will be going back to my house with that same wifie and ip address and also coming back to this new place sometimes

golden idolBOT
#

At your service, @fluid scaffold!

The IP address you have assigned to your server is not actually available for use on your machine, or something is already running on that port. Use ss -plnt | grep :<port> (replacing <port> with your own) to find what processes might be using it.

If you don't find any service using the port, then refer to the instructions below.

Execute the command hostname -I | awk '{print $1}' and change your Node allocations to use this IP. Yes, it can be your internal/local IP when you're behind NAT. You still have to use it as that is your network interface IP.

If you have added multiple public IPs to your network interface, then you can view all of them using the command ip a | grep "inet "

fluid scaffold
# golden idol At your service, <@291026040049106945>! The IP address you have assigned to you...

i changed my node allocations but im still getting

[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from pterodactyl/yolks 
Status: Image is up to date for ghcr.io/pterodactyl/yolks:java_21 
Digest: sha256:ed81e7d3bcdc99fbde3872e857bc425dcc56f1ec896253bc7feb3b79107e0586 
[Pterodactyl Daemon]: Finished pulling Docker container image
container@pterodactyl~ Server marked as offline...
container@pterodactyl~ Error Event [807a871b-a36c-4164-bf93-f18c9fbaa23c]: environment/docker: failed to start container: Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint 1eb7f733-7449-459f-8b29-37deeba05bbc (7ceab6127093667ef61714d23e7478c9b05b9d8942e63a964d22f7cb92b86ebd): failed to bind host port for 10.0.0.96:30000:172.18.0.2:30000/tcp: cannot assign requested address
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 128
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from pterodactyl/yolks 
Status: Image is up to date for ghcr.io/pterodactyl/yolks:java_21 
Digest: sha256:ed81e7d3bcdc99fbde3872e857bc425dcc56f1ec896253bc7feb3b79107e0586 
[Pterodactyl Daemon]: Finished pulling Docker container image
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: Server crash was detected but an error occurred while handling it.
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 128
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.
golden idolBOT
#

At your service, @fluid scaffold!

The IP address you have assigned to your server is not actually available for use on your machine, or something is already running on that port. Use ss -plnt | grep :<port> (replacing <port> with your own) to find what processes might be using it.

If you don't find any service using the port, then refer to the instructions below.

Execute the command hostname -I | awk '{print $1}' and change your Node allocations to use this IP. Yes, it can be your internal/local IP when you're behind NAT. You still have to use it as that is your network interface IP.

If you have added multiple public IPs to your network interface, then you can view all of them using the command ip a | grep "inet "

abstract thicket
#

There is no pterodactyl feature to do what you are after. There is however #wings-help message which will change all your allocations to a new IP address you define.

spring tide
fluid scaffold
#

thanks for the help, i just happened to search "change Node allocation ip" and saw someone saying to check the pins in ⁠wings-help and saw the message from trenutoo saying how to do that and it works now

il have to write this down so i can change it when i move again

thanks again ❤️