cancel
Showing results for 
Search instead for 
Did you mean: 

Default URLs & Ports

rcpowell
Champ in-the-making
Champ in-the-making
Hi,
I've deployed an instance of Alfresco with some customization code behind it.  Some of the URLs while correct, omit the required port number.  Other URLs default to 127.0.0.1 which is localhost, and does not work when logging in through a remote web-browser.  These also omit the required port number.

I've searched through many files to try to find configuration files that set these URLs, but with no success so far.  (I've looked through the alfresco-global-properties file, the httpd.conf, ssl.conf, tomcat.conf, server.xml, and many others, yet haven't found where these URLs are configured.

Does someone know where to look for additional files or what I may be missing in the files I have looked at?
Thanks
rcpowell
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
In alfresco-global.properties there is share.host and alfresco.host. But I suspect you are probably looking for <a href="https://forums.alfresco.com/forum/end-user-discussions/alfresco-share/howto-change-default-port-8080...">this forum post</a>.

rcpowell
Champ in-the-making
Champ in-the-making
Thanks Jeff.  Using your post, following the link to another post and then subsequent posts, I believe I have resolved most of these issues.

However, there is one more issue I'm trying to resolve with no success:

On the Alfresco dashboard menu items, there is a developer developed element (menu item) that when I click on it, it tries to access the correct URL without using the required port number.  If I add the port number to the url, it will then bring up the page correctly.

So I "inspected" the element using the web browser (Firefox and Chrome).  The inspection revealed the following html code (I've omitted the actual domain url and replaced it with {domain url} )

class="alfresco-menus-_AlfMenuItemMixin"
href="https://{domain url}/alfresco/mmsapp/mms.html#/workspaces/master"

It I go to the address bar and add the port to the domain url, it then accesses the page.

I'm having a difficult time tracking down how the domain url gets set, or how/where to set the port number so it will be picked up and added to the href.  I specify the server name in the files ssl.conf, tomcat.conf, server.xml, and alfresco-global.properties.  I specify the ports also in those files, although separately. 

Do you happen to know where I might look to resolve this issue?

Thanks,
BP