App Running on Digital Ocean Needs to Accept Websocket connections from clients
I just created an Ubuntu-14.04 droplet on digital ocean.
I then deployed an application that used to previously run on my desktop.
On my test laptop the App was running on localhost. Client used to open websocket connections to localhost.
Now I have deployed app to DigitalOcean Droplet and would like client to connect to App using the same method.
I have verified that my application runs on Digital Ocean but does not accept incoming connections.
What are the minimum components that I need to install on my droplet ?
– Deploy App (yes)
– HTTP server/Load Balancer (?? not sure)
– What else is needed ??
What URL should my client use if I need to connect to my App running on the DigialOcean droplet ?
Does my Client need to use secure websockets to make sure that it gets to my App ? I would initially like to use ordinary websockets (not secure) to begin with and switch to secure websockets when development has progressed enough.
Basically I want to address all security concernes at a later time after basic application is running.
Any pointers or information to my above 3 questions will be highly appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×