IP address seems to have changed. Unable to listen on 'ns_1@127.0.0.1'

I’m seeing some problems with Couchbase 1.8. Connections to the server start with C libcouchbase library fail and in the Couchbase logs I’m seeing the error:
IP address seems to have changed. Unable to listen on ‘ns_1@127.0.0.1’.
Any ideas on what might be causing this error as the IP address definitely wasn’t changed?

edit C:\Program Files\Couchbase\Server\bin\service_register.bat
like this:
set NS_BIN=%~dp0
set NS_ROOT=%NS_BIN%…
set NS_ERTS=%NS_BIN%erlang\erts-5.8.3\bin
pushd “%NS_ROOT%“
for /f “tokens=1* delims=” %%a in (‘cmd /q/c “type bin\ipaddr.out”’) do set IP_ADDR=127.0.0.1
set NS_NAME=ns_1@127.0.0.1
if not “%1”==”” set NS_NAME=%1
pushd “%NS_ROOT%”
"%NS_ERTS%\erlsrv.exe" add CouchbaseServer -stopaction “ns_bootstrap:stop().” -name %NS_NAME% -InternalServiceName CouchbaseServer -onfail restart -workdir “%NS_ROOT%” -args “+A 16 -setcookie nocookie -ns_server config_path \”.\etc\couchbase\static_config\" -kernel inet_dist_listen_min 21100 inet_dist_listen_max 21299 -run ns_bootstrap override_resolver -ns_server restart_script \".\bin\service_reregister.bat\" – %2 %3 %4 %5 %6 %7 %8 %9"
popd
set serviceId=""
for /f “tokens=2 delims==” %%s in (‘sc GetKeyName CouchbaseServer’) do set serviceId=%%s
sc description %serviceId% “Couchbase Server Service”

Then double-click it, and finally restart the computer.

Thanks for the response. What does what you have described above do?

Hi,

I tried what was described (NOTE: I’m working on Linux, so I modified /opt/couchbase/bin/couchbase-server script) but it did not resolve the issue. Any other workarounds etc. that might resolve this issue?

Hi, I have same issue,

IP address seems to have changed. Unable to listen on ‘ns_1@127.0.0.1’. (POSIX error code: ‘nxdomain’)

My couchbase is running on ubuntu.

How to resolve it.