Customizing the port that Portal uses

8 views
Skip to first unread message

Ben Kuhl

unread,
Oct 4, 2013, 11:28:26 AM10/4/13
to portal_...@googlegroups.com
I'm trying to change my URLs from a standard string to include a port number for my socket.  I have apache serving pages on :80 and would like to run my java app on :81.  How can I specify a port number for Atmosphere/Portal to listen for sockets on?

new App(new Options().url(":" + ApplicationContextProvider.getProperty("port") + "/socket/admin").packageOf("com.production.socket").packageOf("com.github.flowersinthesand.portal.atmosphere"), new AtmosphereModule(framework), new SpringModule(beanFactory))
                .bean(AdminSocketHandler.class);

Donghwan Kim

unread,
Oct 4, 2013, 11:57:10 AM10/4/13
to portal_...@googlegroups.com
Hello,

Changing the port depends on your web server or servlet container and it has nothing to do with Atmosphere and Portal. You may have to refer docs provided by the web server.

Thanks,

-- Donghwan


--
You received this message because you are subscribed to the Google Groups "Portal" group.
To unsubscribe from this group and stop receiving emails from it, send an email to portal_projec...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages