Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to Komga from another device! #1

Open
nirbhaymalik opened this issue Jul 1, 2024 · 1 comment
Open

Can't connect to Komga from another device! #1

nirbhaymalik opened this issue Jul 1, 2024 · 1 comment

Comments

@nirbhaymalik
Copy link

Hi @BaccanoMob, hope you are doing well.

I am very new to Komga and have been trying to set it up for the past 3 days. I'm just looking for some help online since no solution seems to fix my problem.

My old laptop, with Ubuntu Desktop running on it, is currently being used to host Plex Media Server and I wanted to add Komga Server for my Manga collection. Following Komga JAR file instructions on their official website, I was able to start the server locally and add some libraries to it successfully. To automate the start-up process I created a 'systemd' service that runs the JAR file.

For some reason, I cannot access the Komga web interface remotely using my Ubuntu machine's IP Address from other machines that are connected to the same Local Network and are on the same WiFi. As I mentioned above, my Plex Server can be accessed from any device successfully however it is just the Komga that is just not working. I do not want it to be accessed outside my Local Network hence I am not using Caddy.

I have tried setting baseURL and custom Port for the Komga but nothing seems to be working. DHCP settings on my router are all correct and I have also set my Ubuntu machine's IP Address to be a static one.

Looking forward to any advice or solution you can share for such an issue.

Thank you
Regards,
Nirbhay

@BaccanoMob
Copy link
Owner

What are the komga logs showing when you open it from outside localhost?

Also how did you set up a static IP? Set from the router itself or from desktop?

Well, judging from your comments, try these (and keep an eye on the logs)

  1. Stop and disable the auto starting using systemd. Run the JAR file manually to check if it's working properly from localhost and via IP:PORT.

  2. Or your desktop may have your firewall (either iptables or ufw) blocking 25600 port. Try manually setting them open. (Im assuming Plex is also installed bare metal, so the port may have opened automatically while installation perhaps).

Also using Caddy doesn't necessarily mean you are exposing it to outside your network. Its just a service that allows you to point at a webserver.

Offtopic, since you are running couple of webservers, I highly recommend looking into docker. Potentially you'll find it helpful to run more servers to help you out. Like a file server to upload files remotely, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants