cancel
Showing results for 
Search instead for 
Did you mean: 

Publicly Addressable Name

freedom20
Champ in-the-making
Champ in-the-making
Hi,

I just installed Alfresco (201510-EA) and after installing it works fine on the Linux server I installed on but I cannot hit it from any other machine on the network.   This is in the install document:

<blockquote>Use the URL http://127.0.0.1:8080/share on this machine to verify that Alfresco is running successfully. This is not an externally addressable URL, which means that it's not possible for users on other machines to access this URL. To make sure that other users can access the machine where Alfresco is installed, you need to define and create a publicly addressable name. </blockquote>

How do you define and created a publicly addressable name?   I am a seasoned MS IT guy but completely new to Alfresco and Linux/Tomcat/Postgresql.   I went down the road of a firewall being installed but I can ping back and forth by ip and name.  I'm eager to learn but I don't know if I'm banging my head against Alfresco, Tomcat, or just Linux in general.

Thanks

11 REPLIES 11

kavilash23
Champ on-the-rise
Champ on-the-rise
Hi,

"How do you define and created a publicly addressable name?"
What the above means is that you need a DNS which resolves to the alfresco server ip (assuming you don't have any proxy server sitting in front of the alfresco server) and set it in tomcat/shared/classes/alfresco-global.properties.

alfresco.host and share.host are the ones you need to change.

And make sure port 8080 is opened and accessible on the alfresco server and your firewall.

freedom20
Champ in-the-making
Champ in-the-making
Thank you.  I made the changes to the alfresco-global.properties.   It still does not work.  I'm going to down the road of trying to figure out if port 8080 is open.  To my knowledge there is no firewall running.  I cannot find that iptables is running and there is no firewall between my workstation and this server.

Depending on your operating system you might actually have both iptables and firewalld installed

systemctl iptables status
systemctl firewalld status

They should be dead if you don't want them on.

freedom20
Champ in-the-making
Champ in-the-making
Thanks, I hadn't refreshed the page in a while and saw your reply right after my last post.  I tried this and received.

"Unknown operation 'iptables'"
"Unknown operation 'firewalld'"

I'm running Oracle Linux 7.

Yeah sorry about that…..that was my bad. I typed it down wrong for you.

try

systemctl status firewalld.service
systemctl status iptables.service

freedom20
Champ in-the-making
Champ in-the-making
Does anyone have any other hints at what I can look at?  I have spent several hours on this and have made no progress.

<blockquote>And make sure port 8080 is opened and accessible on the alfresco server and your firewall. </blockquote>

What all should I check to make sure this is open?   When I do a netstat it shows 8080 under TCP6.  But when I look by running this "# ip a | grep inet" it does not return any ipv6 addresses.   I've also looked in the /opt/alfresco-community/tomcat/conf/server.xml file and cannot find the line "resolveHosts="false"".

I can hit Alfresco Share from the local server just fine I just can't hit Alfresco from any other computer on the network.  I can ping the machine by name and have tried the IP address as well.

Thanks

freedom20
Champ in-the-making
Champ in-the-making
Anybody? 

I have…

added the ip and hostname to the hosts file

added 'address="0.0.0.0"' and 'useIPVHosts="true"' to the Connector port="8080" section in the /opt/alfresco-community/tomcat/conf/server.xml file


At a command prompt if you use the command: hostname

Does the server have a hostname setup?

Here is some references you should probably take a look at.

http://www.thegeekstuff.com/2013/10/change-hostname-ip-address/

freedom20
Champ in-the-making
Champ in-the-making
Thanks for your help.   That returns "tsserver01.localdomain".

I messed with everything in that article and restarted several times.  I also turned off ipv6 in the ifcfg-eth0 file because when I ran netstat -nlp it looked like 8080 was on tcp6 instead of tcp.  It got to the point where I could no longer VNC to the machine but I could still Putty to it and ping by name.  I removed the entries in the hosts file and then I could VNC to it again.  Then Alfresco would no longer work from within the machine.  Now 8080 is showing up under tcp instead of tcp6.  I turned the IPV6 back on and now I'm back where I started.  It works from within the machine but not from another machine.