Courtney Robinson
zcourts.com
Writing
Projects
Fission
Worka AI
Talks & Media
About
Subscribe
Book a Talk
PUBLIC INDEX legacy zcourts.com ZCOURTS - VOL. 02
LONDON - 2026
Install HAProxy on Windows (Cygwin) - Good for testing
I've been developing an App for most of the summer. It's using a few backend services so in production I use HAProxy in front of them.
Static article
Imported body
Legacy aliases
All writing
Subscribe
Article archive
FIG. 02
notes
surface
research
surface
Article
app model
publish
surface
Imported writing rendered as native Fission Markdown content.
SECTION
Source and context.
The static release keeps the original post body locally while the backend content pipeline is still being built.
legacy
archive
config
cygwin
haproxy
install
node
socket.io
websocket
general
Published 2012-09-29 on legacy zcourts.com. Estimated reading time: 2 min.
Original routes are preserved as local aliases so older links keep resolving to this static archive.
I've been developing an App for most of the summer. It's using a few backend services so in production I use HAProxy in front of
them.
The latest service uses
socket.io
and
Node.JS
, I couldn't get it going because the local web server runs on a different port than the Node JS server (naturally). Due to the "
Same origin policy
" socket.io JS needs to run on the same port (and host). So I installed HAProxy to mimic how everything would run in Prod.
<!-- more -->First thing first - Using the Cygwin setup.exe install GCC and G++
Download HaProxy
http://haproxy.1wt.eu/
Next extract the HaProxy archive you downloaded, I was in my home directory
(/home/courtney).
Go into the extracted
folder
javascriptcd haproxy.x.y.z
Where .x.y.z was the version number. Now
compile:
make TARGET=linux28
If no error occurred then
install
make install
Once installed you need a HaProxy Config file. I'm using 1.4 so docs are here:
http://cbonte.github.com/haproxy-dconv/configuration-1.4.html
. You should have a look here
http://haproxy.1wt.eu/#docs
to find your specific version of the docs.
Once you have a HaProxy config file fire up the process
using:
javascript/usr/local/sbin/haproxy.exe -f haproxy.cfg
If like me you're using Node or whatever else (WebSockety) with HaProxy then a good place to start is
http://stackoverflow.com/questions/4360221/haproxy-websocket-disconnection/4737648#4737648
This post is short and shody but its more of a reference for me in the future I'll probably have to do it
again.
SECTION
Related writing.
More imported posts from the current and legacy zcourts archives.
2026-04-09
Should you write your own database?
We run a data pipeline that ingests very large product snapshots, turns them into downstream feed artifacts, and then keeps those feeds fresh with smaller incremental updates. The pipeline has a weekly "start from a new baseline" phase a...
2026-02-13
AI, Energy, and the Infrastructure Cycle: What Rising Power Bills Tell Us About the Next Economic Phase
For many households in the UK, the story begins not with artificial intelligence, but with a monthly or quarterly energy bill.
2026-01-28
Safety Without Friction: Why “Responsible AI” Fails Under Commercial Incentives
Over the past several years, a new genre of writing has emerged alongside the rapid development of large-scale AI systems: the AI safety essay. These essays are typically long-form, reflective, and morally serious. They acknowledge uncer...
CR
Courtney Robinson
zcourts.com
Building the infrastructure for the agentic future.
EXPLORE
Writing
Projects
Fission
Worka AI
RESOURCES
Talks & Media
About
Subscribe
CONNECT
GitHub
X / Twitter
Facebook
Email
LET'S CONNECT
courtney@crlog.info
Based in London
GH
X
FB
@
Email
Subscribe
© 2025 Courtney Robinson. All rights reserved.