How can I change the port that Gallery3 ueses?

phillipsm

Joined: 2010-10-24
Posts: 33
Posted: Sat, 2013-12-14 20:36

I need to change the port number that gallery3 listens to. How do I do that?

Thanks,

Mark

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Sat, 2013-12-14 21:49

Gallery doesn't have a port setting. It's your web server that sets the port.

 
phillipsm

Joined: 2010-10-24
Posts: 33
Posted: Sat, 2013-12-14 22:43

No wonder I couldn't find any reference to a gallery3 port on google or the gallery3 documentation. I am more used to tomcat with a port configuration. Thanks!

Mark

 
Devilzad

Joined: 2005-09-13
Posts: 18
Posted: Wed, 2014-01-08 04:49

I've moved my Gallery3 install to a port 81, but I have the following issue with it:

When I click any of the breadcrumb links at the top of the page, it doesn't include the port. For example, clicking the link on the album to go up one level, the link looks like this:
http://www.hostname.net:81/index.php/by_year/2013/201310?show=20696

This becomes the following:
http://www.hostname.net/index.php/by_year/2013/201310

Which because there's nothing at that port throws an "unable to establish a connection" error.

Any ideas where I could find out how to get those links to work properly on the non-port-80 port?