azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
2.96k stars 105 forks source link

Network mode change update lost access admin portal #241

Closed dhumphrey7 closed 2 months ago

dhumphrey7 commented 2 months ago

What happened?

Updated the network mode to host and now I can't connect to cosmos via domain or IP. I looked through the docker logs via CLI but don't see any errors. Containers can be accessed via IP:port still.

What should have happened?

Should be able to still access the admin panel.

How to reproduce the bug?

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Relevant log output

No response

Other details

I don't know what else to provide.

System details

dhumphrey7 commented 2 months ago

I was able to fix it by stopping and rm'ing cosmos-server and and running it with the ports instead of host. I would still like to migrate up to the host network but not sure exactly went wrong the first time.

azukaar commented 2 months ago

It's an issue with your system firewall, your ports are not opened on your server (either UFW or iptables)