-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot assign requested address in AWS #493
Comments
Should I be using any other IP address instead of the public IP address of my Instance? |
@DaniAkash Am facing same issue. Did you found any solution? |
ifconfig find intranet ip, use it |
@DaniAkash @sunilgulabani if you ever solved this issue in AWS with suggestion from @lilaizhencn please don't forget to update this ticket so we can document a "AWS How-to" later. Thanks. |
@pablojr I was able to resolve this issue. When we create SocketIO Server with hostname as "localhost", application is only accessible from local environment. I changed the hostname parameter value to "0.0.0.0" and it worked seamlessly. Rest AWS security group need to be expose for port which we used. |
@sunilgulabani it works! thank you!! |
tried with -Dserver.port=0.0.0.0 |
can you please tell me how to do that i am facing same issue but do not know how to do that. ??Your help wil be appreciated with bundle of thanks. |
can you please tell me how to do that i am facing same issue but do not know how to do that. ??Your quick help will be highly appreciated... |
I have implemented a websocket server using Spring framework and Netty SocketIO. While development I used the host address as
localhost
and the server was working perfectly fine.When I'm trying to deploy my code to AWS, I changed the host address to my instance's public IP address. But I'm getting the following error and I'm unable to start my server
The text was updated successfully, but these errors were encountered: