Can you change the listening port from 8888 ?

32 views
Skip to first unread message

he...@timhastings.co.uk

unread,
Jul 11, 2014, 3:51:40 AM7/11/14
to swfre...@googlegroups.com
Hi Karim,

Is it possible to change the port number that SWFRenderer communicates on to a different number?

So for example when launching you could do:

SWFRenderer.exe serverPort=8899

And to pass commands you would do:

SWFRenderer.exe serverPort=8899 command=startRender

Thanks in advance,

Tim

karim beyrouti

unread,
Jul 18, 2014, 11:49:04 AM7/18/14
to swfre...@googlegroups.com, he...@timhastings.co.uk
Hello Tim, 

sorry for the delayed reply (but we have been emailing). It might be useful to answer this here. To set the server port - you can use the setPort command when opening the application. This was missing from the Windows CLI post. I have added it, for reference you can do this:

------------------------------------------------------------------------------------------------------------------------
-- Opening the application and setting the port number ( Windows ) 
------------------------------------------------------------------------------------------------------------------------

Command: setPort
Required Parameters: port, Default:8888
Example: SWFRenderer.exe command=setPort port=8889

------------------------------------------------------------------------------------------------------------------------
-- Opening the application and setting the port number ( OSX ) 
------------------------------------------------------------------------------------------------------------------------

Command: setPort
Required Parameters: port, Default:8888
Example: open /path/to/application/SWFRenderer.app --args command=setPort port=8889

Note: This command opens the application and does not use CURL so no comma is needed to separate the parameters. 
Reply all
Reply to author
Forward
0 new messages