Telling nitrogen (inets) to listen on a specific ip

1 view
Skip to first unread message

Thomas Refis

unread,
Nov 21, 2009, 12:49:14 PM11/21/09
to nitro...@googlegroups.com
Hi everyone!
I'm actually trying to get nitrogen to listen on a specific ip and
port (not localhost) as I've two ip for my server and already one http
server listening on the port 80 of the default ip adress, I'd like to
have nitrogen (who runs on inets) listening to the other ip adress.
I tried editing the start.sh to do so, I added « ip <my_ip> » before
the « port 80 » on the line after the « erl \ » but that didn't work,
when i launch the start.sh i get :
« =ERROR REPORT==== 21-Nov-2009::18:47:06 ===
application_controller: syntax error before: 142.1: <my_ip> »

I searched in the source files of nitrogen if there was an other way
to do it but didn't find anything, so I'd appreciate some help here.

Thank you in advance,
Bye !
Reply all
Reply to author
Forward
0 new messages