Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nginx still listen old IPv6 address after changed

Featured Replies

Unrad OS:6.12.4

I'm use SLAAC to get IPv6 address.

Sometimes I need to reboot my route then IPv6 prefix will change.

Unraid will get new IPv6 address and I can ping to it.

But look at network in WebGUI, it's still show old IPv6 address.

 

And use 

netstat -tulpn

to show listening address and port.

It will show nginx listening old IPv6 address.

 

Use 

/etc/rc.d/rc.nginx reload

to restart nginx then I can access WebGUI with new IPv6 address.

 

How can it automatically listen new IPv6 address?

  • Community Expert

 I think, what you see is not a bug but a feature of ip V6.

 

It is common to have many addresses at the same time and if a new prefix is announced, a new local address is added but the former one is kept too. This is because there maybe still open connections (local ones?) to the old address, like your open web connection.

It will time out some (rather long) time ahead once all connections have been closed (or maybe even NEVER if you keep it up).

 

But, new connections can be made to the new address already and offgoing connections will use only the new address from now on (of course, NEW connections only too).

 

So this is a graceful way to change addresses.

 

Try it out, wait for the situation to reappear and try to start a new connection using the new prefix+address. I bet it will work.

If not, its a bug of Dockers (they are not really bright with IPV6) or this particular NGinx docker.

(I don't know for sure, I have static V6 addresses, no prefix change here)

 

 

Edited by MAM59

  • Author

@MAM59 

I ask friend who have 6.11.5 unraid.

He disconnect pppoe and reconnect again to get new prefix.

I can access his new address and old address.

 

I did same operations but he can't access my new address.

Use

ifconfig

I can see adapter get new IPv6 address.

But nginx still listen old IPv6 address.

 

  • Community Expert
1 minute ago, Kation said:

I can see adapter get new IPv6 address.

But nginx still listen old IPv6 address.

you should see that ifconfig gets BOTH addresses.

If NGINX does not recognize the additional address, its a problem with that particular docker. Report to the support forum of the docker.

 

  • Author
16 hours ago, MAM59 said:

you should see that ifconfig gets BOTH addresses.

If NGINX does not recognize the additional address, its a problem with that particular docker. Report to the support forum of the docker.

 

It's WebGUI's nginx, what relations with docker?

Unraid should detect address changes and update.

Can you provide diagnostics after an address change happened and the gui still listens to the old address.

Ps. Are you not using ipv4?
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.