android - Java Websocket chat on mochahost vps 404 error -


i bought vps online , i've installed apache tomcat 8.0.20 on it. server , running. websocket app running on localhost apache tomcat 8.0.3 keeps giving

status 404: (not found) error.

i need know if there additional configuration need do. or perhaps mochahost not support websockets. or perhaps tomcat server needs run without apache. not know how configure i'm new vps systems. please need urgently. use autobahn websocket library android on client side.my connection url of format:

ws://domain.com/appserver/endpointvalue  

everything works on localhost. though, wonder if need add port numbers online server address, too.

it fault. had include port number in websocket url. once included it, began work expected. thanks: path became:

ws://yourdomain.com:port_number/serverappname/endpointvalue.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -