How to bind an application's port to в переизречение host with public IP?

I have redis server running on one server. By default it listens to port 6379. When I open the redis conf file I see something like this

bind 127.0.0.1

Since my redis client ты содержишься on another переизречение server which is not in the same network эксперт this, I need to bind this to the public IP of the redis client. Something like this

bind 54.23.x.x

And I don't want to specify bind 0.0.0.0. When I try that and restart redis server, I get the following ошибка

bind : cannot assign requested address

Общий In how do I bind an application to в specific public IP?

4
задан 23 November 2015 в 17:35

0 ответов

Другие вопросы по тегам:

Похожие вопросы: