Skip to content

sashimi3/web-socket-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

web-socket-test

Docker-image for WebSocket connectivity test.

How to

Start contaienr

$ docker run -p 8010:8010 --name web-socket-test ksdn117/web-socket-test

Connect to container with WebSocket

$ npm install wscat
$ wscat --connect ws://$(CONTAINER_HOST_IP_ADDRESS):8010

connected (press CTRL+C to quit)
> Hello world

< Server received from client: Hello world
>

Check your container log

npm info ok
Server started
Received from client: Hello world

It works!!!

About

Dockerfile for WebSocket connectivity test.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •