how to pusht super tweet local proxy to work on subdomain

22 views
Skip to first unread message

AhAd

unread,
Mar 23, 2012, 5:53:46 AM3/23/12
to supertweet-...@googlegroups.com
Hi

in some client apps u can't use custom port is API  like http://locahost:8080/.
I'm thinking of to  define a sub domain on my Windows 2003 a push supertweet to  start serving form there. like the superweet web site i mean http://api.supertweet.com/

but I'm not familiar how to do this

can u give me a solution for this?

Mr Blog

unread,
Mar 23, 2012, 2:52:21 PM3/23/12
to supertweet-...@googlegroups.com
I'm not sure I understand the question, but you set the port the web server listens on in the Jetty config.  In etc/jetty.xml you'll find something like this:

<Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set>

You can run the server on a different port by changing that file or on the command-line when you start Jetty, like this:

java -Djetty.port=9090 -jar start.jar 

If you want to use port 80, you will have to give the Java VM Administrator privs.  This really has nothing to do with the supertweet local proxy webapp. It's generic to the Jetty web server (container) setup. Refer to these Jetty docs:


You could use Apache/Tomcat instead if you are more familiar with that.

AhAd

unread,
Mar 24, 2012, 9:26:50 AM3/24/12
to supertweet-...@googlegroups.com
wow so thanks that very goof news i will try it on Apache
Reply all
Reply to author
Forward
0 new messages