Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Change of IP address for Confluence server Centos 7 Error connection refused

homunculus griseo September 25, 2018

Hello, I changed IP address for confluence server from 192.168.X.X to 10.32.X.X. 
And now I have err_conection_refused.
Selinux is disabled also firewalld, UTM dont block any of the ports.
In pg_hba.conf is 0.0.0.0/0 addres for local connection and md5.

Any idea ?
Installed on Centos 7.
And ofcourse I have contact to server with SSH and ping. So connection is configured properly.

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2018

Connection refused is usually caused by one of the things you've mentioned, so I suspect there is still a firewall or configuration in place that is blocking the confluence port on the new IP address.  Or something is not running.

Assuming that Confluence is running on the default port of 8090, can you try

  • A simple wget or curl of "localhost:8090" actually on the server
  • A simple wget or curl of "10.32.x.x:8090" again on the server
  • A simple wget or curl of "10.32.x.x:8090" from a client
homunculus griseo September 25, 2018

I have connection refused everywere.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2018

Ok, so is Confluence running on port 8090?  Is it running at all?

homunculus griseo September 25, 2018

Yes it is running I see it with ps-u | grep confluence that process is running. 
It is running on port 8090, I'm connecting from my saved tab in the google chrome.
And I was trying connecting with ip address and dns. Nothing helped.
I only changed IP address and gateway in ifcfg-nameofthe eth.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2018

I'm not too worried about Chrome connections, I think we know they're failing.

What exactly were the errors you got from the first two wget/curls I asked for?  The ones physically on the server?

homunculus griseo September 25, 2018

I was trying edge, firefox and chrome. Nothing changed.

curl: (7) Failed connect to localhost:8090; Connection refused

curl: (7) Failed connect to 10.32.10.50:8090; Connection refused

SELinux status: disabled

[root@docs ~]# service firewalld status
Redirecting to /bin/systemctl status firewalld.service
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)


homunculus griseo September 25, 2018

[root@docs ~]# ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.025 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.030 ms

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2018

Ok, if you can't connect to localhost:8090 and you can see Confluence running on port 8090, then either your hosts file is totally messed up, your networking on the machine is incorrectly configured for routing, or your server is still running a firewall or routing system blocking even local access.

Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2018

Is it running behind Apache or NGINX?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events