# New guy ... drowning

**URL:** <https://discourse.haproxy.org/t/new-guy-drowning/144>\
**Category:** Help!\
**Created:** [February 25, 2016, 3:17pm UTC](https://discourse.haproxy.org/t/new-guy-drowning/144 "2016-02-25T15:17:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KVT](https://avatars.discourse-cdn.com/v4/letter/k/db5fbb/32.png) [@KVT](https://discourse.haproxy.org/u/KVT)\
**Post date:** [February 25, 2016, 3:17pm UTC](https://discourse.haproxy.org/t/new-guy-drowning/144/1 "2016-02-25T15:17:39Z")

</div>

Hi  
im having alot of trouble getting haproxy to work so i hope for a little help  
i have a single Haproxy running and i need to test loadbalancing for our sw developer

i need to loadbalance(10.10.10.9)roundrobin HTTPS on port 443 to 10.10.10.10 and 10.10.10.11 but also TCP on port 9111 to 10.10.10.11 and 10.10.10.12 is this possible on a single haproxy?

i hope someone is kind enough to help or to point in the right direction

---

<div class="post-metadata">

**Author:** ![ahayworth](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/ahayworth/32/11_2.png) [@ahayworth](https://discourse.haproxy.org/u/ahayworth)\
**Post date:** [March 21, 2016, 9:24pm UTC](https://discourse.haproxy.org/t/new-guy-drowning/144/2 "2016-03-21T21:24:47Z")

</div>

Hi KVT -

Yes, this is possible. A rough config might look like:

```auto
frontend ssl
  mode http
  listen :443
  use_backend ssl

frontend tcp
  mode tcp
  listen :9111
  use_backend tcp

frontend http
  mode http
  server s1 10.10.10.10:443
  server s2 10.10.10.10:443

frontend tcp
  mode tcp
  server s1 10.10.10.11:9111
  server s2 10.10.10.12:9111

```

Hope that helps!

- Andrew
