Skip to content

A simple Node server that listens for HTTP requests and sends them to another server via UDP

Notifications You must be signed in to change notification settings

dspeele/NodeHttpToUdp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Node Web Service for sending UDP protocol message via HTTP

Purpose

This server is meant to run in conjunction with a UDP server. It's purpose is to receive HTTP requests on the specified port and send them via UDP to the UDP server at the specified host and port.

Setup

  • Clone this repository
  • Configure the listener port and the UDP host and port in the config.js file (NOTE- Demandware has a firewall which prevents outgoing HTTP requests to any port except 80. If you want to use another port then you need to make a request to Demandware support to open that port.)
  • Start the server: nohup node index.js > httpToUdp.log &

Logging

The log will be available at httpToUdp.log

About

A simple Node server that listens for HTTP requests and sends them to another server via UDP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published