Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 09-29-2018, 06:47 PM   #1
ginsa
Member
ginsa began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2018
Device: Sony PRS-T1, Kobo Aura
Content Server on Arch Linux

I have several computers, most of them with Linux. I use Calibre mainly on Arch. The current version is 3.32.0-1.
Recently I tried to start the Content Server. On the same machine with Firefox I can access the library of Calibre with http://127.0.0.1:8080 or by entering the IP address of the computer itself.
However, from another computer or ebook reader I can't.
The browser says it is connecting, but after a while it runs out of connection time.
If instead I start the server on another computer with Linux Fedora (and with another copy of the Calibre library) everything works fine and I access from computers, tablets, readers, shavers ... etc. The Fedora version is 3.29.0.
The two systems are on the same network of course.
Where can I start investigating why the web server running on Arch is not accessible?

Thank you.

Last edited by ginsa; 09-29-2018 at 07:06 PM.
ginsa is offline   Reply With Quote
Old 09-29-2018, 07:32 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,884
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
127.0.0.1 addresses are only accessible on a single machine,thus the name Localhost

You need to use the assigned (public) IP for the host machine, from anyplace else on the LAN
If you single click the Sharing over the net icon, you will see the public IP (and port), next to STOP the server.
theducks is offline   Reply With Quote
Advert
Old 09-29-2018, 07:47 PM   #3
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by theducks View Post
127.0.0.1 addresses are only accessible on a single machine,thus the name Localhost

You need to use the assigned (public) IP for the host machine, from anyplace else on the LAN
If you single click the Sharing over the net icon, you will see the public IP (and port), next to STOP the server.
OP did mention this:
Quote:
Originally Posted by ginsa View Post
or by entering the IP address of the computer itself.
Somehow, I don't think the OP would be running Arch without knowing at the very least that 127.0.0.1 refers to localhost.

@OP
I'm not familiar with Arch but have you checked if it has firewall rules blocking the server? Even on Windows, the firewall default for running servers is blocked unless explicitly allowed.
ilovejedd is offline   Reply With Quote
Old 09-29-2018, 08:58 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,884
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ilovejedd View Post
OP did mention this:


Somehow, I don't think the OP would be running Arch without knowing at the very least that 127.0.0.1 refers to localhost.
I think you are correct about Arch (I hear it is not as Windows user friendly, as, say Ubuntu ).
theducks is offline   Reply With Quote
Old 09-29-2018, 11:39 PM   #5
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
https://img.devrant.com/devrant/rant/r_368995_joSyh.jpg

https://img.devrant.com/devrant/rant/r_738137_7RHyU.jpg

Spoiler:


ilovejedd is offline   Reply With Quote
Advert
Old 09-30-2018, 04:01 AM   #6
ginsa
Member
ginsa began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2018
Device: Sony PRS-T1, Kobo Aura
Quote:
Originally Posted by theducks View Post
127.0.0.1 addresses are only accessible on a single machine,thus the name Localhost

You need to use the assigned (public) IP for the host machine, from anyplace else on the LAN
If you single click the Sharing over the net icon, you will see the public IP (and port), next to STOP the server.
It is what I did....
ginsa is offline   Reply With Quote
Old 09-30-2018, 05:56 AM   #7
ginsa
Member
ginsa began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2018
Device: Sony PRS-T1, Kobo Aura
Quote:
Originally Posted by ilovejedd View Post
OP did mention this:

@OP
I'm not familiar with Arch but have you checked if it has firewall rules blocking the server? Even on Windows, the firewall default for running servers is blocked unless explicitly allowed.

That is what I'm able not do...
ginsa is offline   Reply With Quote
Old 09-30-2018, 10:55 AM   #8
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by ginsa View Post
That is what I'm able not do...
Alas, I expect you're gonna need to research how to do this on your own. I doubt many (if any) here use Arch.

I use Mint because I wanted a distro that's user-friendly with a community that doesn't just tell you to RTFM when you ask a question.
ilovejedd is offline   Reply With Quote
Old 09-30-2018, 12:53 PM   #9
ginsa
Member
ginsa began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2018
Device: Sony PRS-T1, Kobo Aura
Quote:
Originally Posted by ilovejedd View Post
Alas, I expect you're gonna need to research how to do this on your own. I doubt many (if any) here use Arch.
Perhaps, ... unfortunately.
Although my system has neither active firewalls nor TCP / IP access rules !!
But Calibre on Arch is also recommended by Kovid Goyal
ginsa is offline   Reply With Quote
Old 09-30-2018, 02:34 PM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,884
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ginsa View Post
Perhaps, ... unfortunately.
Although my system has neither active firewalls nor TCP / IP access rules !!
But Calibre on Arch is also recommended by Kovid Goyal
Kovid is a GURU.
Everything is easy for him
theducks is offline   Reply With Quote
Old 09-30-2018, 05:43 PM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,625
Karma: 26960534
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@ginsa - member eschwartz is an Arch specialist, he only drops by occasionally but I'm sure he'll be happy to advise - send him a PM.

BR
BetterRed is online now   Reply With Quote
Old 09-30-2018, 05:53 PM   #12
ginsa
Member
ginsa began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2018
Device: Sony PRS-T1, Kobo Aura
Quote:
Originally Posted by BetterRed View Post
@ginsa - member eschwartz is an Arch specialist, he only drops by occasionally but I'm sure he'll be happy to advise - send him a PM.

BR
That is a good advice. Thank you very much.
ginsa is offline   Reply With Quote
Old 10-01-2018, 12:13 AM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,930
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Is your arch computer publicly routable? is it behind a router? if so have you forwarded the port to it? What IP address are yo uusing to try to access your computer? From which network. Arch by default has no firewall, so unless you have set one up yourself, it wont be a firewall issue.
kovidgoyal is online now   Reply With Quote
Old 10-01-2018, 03:25 AM   #14
ginsa
Member
ginsa began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2018
Device: Sony PRS-T1, Kobo Aura
Quote:
Originally Posted by kovidgoyal View Post
Is your arch computer publicly routable? is it behind a router? if so have you forwarded the port to it? What IP address are yo uusing to try to access your computer? From which network. Arch by default has no firewall, so unless you have set one up yourself, it wont be a firewall issue.
The problem is inside the home LAN. That is the strange thing.... The client browser and the content server have both address 192.168.1.X and 192.168.1.Y.
On Arch server there are no firewall or iptables rules.
On the same machine where is Arch system there is an Ubuntu system in multiboot... and a copy of the content server on Ubuntu works as it should. Incredible !!
ginsa is offline   Reply With Quote
Old 10-01-2018, 06:27 AM   #15
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,930
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
can you ping your arch machine from the browser machine?
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on setting up calibre-server on Pi3 running Arch Linux ARM haertig Calibre 13 12-17-2017 09:58 PM
Content-server: Auto-import on Linux? maddhin Library Management 6 08-08-2017 09:34 AM
Arch Linux content server (500 internal error) Joosca77 Devices 11 07-15-2015 11:07 PM
Content Server as service under Linux Lofwyr23 Calibre 2 01-12-2014 12:45 PM
Calibre content server on linux error vil_coyotte Calibre 2 11-02-2012 08:56 AM


All times are GMT -4. The time now is 11:28 PM.


MobileRead.com is a privately owned, operated and funded community.