# V3 w/ WebSockets?

**URL:** https://community.traefik.io/t/v3-w-websockets/22796
**Category:** Traefik v3 (latest)
**Tags:** docker, file, tcp
**Created:** [May 18, 2024, 5:31pm UTC](https://community.traefik.io/t/v3-w-websockets/22796 "2024-05-18T17:31:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![efaden](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/efaden/32/8737_2.png) [@efaden](https://community.traefik.io/u/efaden)
#### Post date: [May 18, 2024, 5:31pm UTC](https://community.traefik.io/t/v3-w-websockets/22796/1 "2024-05-18T17:31:43Z")

</div>

So I am running a service that uses port 8091 for general HTTP traffic and port 3000 for WS (ws://ip:3000). I have the HTTP traffic being reverse proxied to HTTPS on a domain [myservice.mydomain.com](http://myservice.mydomain.com). I am trying to figure out how to reverse proxy the WS service to the domain [myservice-ws.mydomain.com](http://myservice-ws.mydomain.com) but I can't seem to figure out how to make it work. Is this possible to do?

---

<div class="post-metadata">

### Author: ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)
#### Post date: [May 18, 2024, 5:47pm UTC](https://community.traefik.io/t/v3-w-websockets/22796/2 "2024-05-18T17:47:04Z")

</div>

`http` and `ws` should behave the same. To proxy to an external URL, you need set up `router` and `service` with `loadbalancer.servers.url` in a dynamic config file, load it with `providers.file` in static config.

Check [simple Traefik external example](https://github.com/bluepuma77/traefik-best-practice/tree/main/traefik-external-forward).
