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 03-30-2023, 05:19 PM   #1
Kedeco
Junior Member
Kedeco began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Moonreader
Content Server Changing

I can access the Content server easily enough. However, Calibre’s HTTP address is constantly changing and that never used to happen before. Every time I close and reopen Calibre and restart my computer.
In order to download a book to any device I have on my home network, I must go back to the calibre preferences, and copy down the number to change the address for anything I want to download. I do it every time it will not stay the same. The port always stays the same. It’s just the last set of numbers. http://192.168.1.XXX:8080. I’m tired of having to look it up all the time I want it static like before. Thoughts?

I absolutely adore the program. I wish it could arrange my music as well.

Kelli
Kedeco is offline   Reply With Quote
Old 03-30-2023, 07:06 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: 30,281
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Your server IP is controlled by your DHCP server (most home users, this is the router)

Note the MAC of the computer port (or WiFi)
Then log into your router (your router supplier will be where you find that and the rest.): Reserve a IP for that MAC (I usually pick an IP near the top of the DHCP range).
Note: If this computer never moves out of your house, You could just assign a static IP to the port.
If you use a wired connection while home and WiFi elsewhere, just set a static on the wired connection. The WiFi will still use DHCP
theducks is offline   Reply With Quote
Old 04-06-2023, 11:25 AM   #3
Kedeco
Junior Member
Kedeco began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Moonreader
Thanks but I don't understand why I must change my computer. Why did Calibre change this? Is this new? There should be something in Calibre to change so it's a stable content server number.
Kedeco is offline   Reply With Quote
Old 04-06-2023, 11:37 AM   #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: 30,281
Karma: 57979022
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 Kedeco View Post
Thanks but I don't understand why I must change my computer. Why did Calibre change this? Is this new? There should be something in Calibre to change so it's a stable content server number.
CALIBRE IS NOT CHANGING the IP.
It uses (and reports if you click the globe-network icon) what your machine WAS ASSIGNED by your router.

One possibility is someone else is 'borrowing' your WiFi connection and is using up IP's that normally would be used over the next time you booted.

What I outlined, was a way to RESERVE the IP for a specific machine.
theducks is offline   Reply With Quote
Old 04-06-2023, 02:47 PM   #5
Kedeco
Junior Member
Kedeco began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Moonreader
Makes NO sense it worked fine before and is not now. I certainly don't want to talk with you anymore. Go away, I'll just change it on my tablet every time.
Kedeco is offline   Reply With Quote
Old 04-06-2023, 03:17 PM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,911
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Kedeco View Post
Makes NO sense it worked fine before and is not now. I certainly don't want to talk with you anymore. Go away, I'll just change it on my tablet every time.
Your problem: @theducks is 100% right. Calibre does not set or change the IP address of the machine it is running on. That is easily verified by looking at calibre's source code. The IP address is either set in the machine's network settings or (almost always) provided by DHCP running on your home router. Despite your protestations, that is where you need to fix this by telling the router to reserve an IP address for the machine running calibre.

EDIT: unless your machine has been hacked and you have a botnet slave running, changing the IP to confuse anti-bot tracing

Last edited by chaley; 04-06-2023 at 03:59 PM.
chaley is offline   Reply With Quote
Old 04-06-2023, 05:56 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 38,944
Karma: 153006038
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by chaley View Post
EDIT: unless your machine has been hacked and you have a botnet slave running, changing the IP to confuse anti-bot tracing
That would be unlikely unless his computer was connected directly to the internet. No matter what his internal address is, the packets would appear on the WAN with the router's external address. For example, your internal LAN uses 192.168.65.1-192.168.65.254 as the internal address while the router talks to your ISP using 92.67.26.17. No matter which internal address you use, a Google search on what's my ip address or visiting whatismyip.com, whatismyipaddress.com or similar site will show 92.67.26.17 as your public IP v4 address.

Edit: Perhaps the OP should check out What is DHCP and how does it work? or any similar site with a basic introduction to DHCP.

Last edited by DNSB; 04-06-2023 at 06:03 PM.
DNSB is offline   Reply With Quote
Old 04-06-2023, 07:58 PM   #8
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: 30,281
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
OP
My job back in the 80's was lead, to install 200+ Sun Workstations on a thick Ethernet (10base5).

If your IP is changing. Something is causing that.
You did not say if your PC was wired or wireless. Many DHCP servers are set to limit the assignable IP (mine was 16 as delivered), the rest are static addresses OUTSIDE the DHCP block.

If you have a lot of folk using your connection, your DHCP lease gets bumped if not in actual use (traffic).
Comcast has a program, where other Comcast users can roam and use routers (they are DMZ'd from your internal LAN) if the have the app and log it into THEIR account.
theducks is offline   Reply With Quote
Old 04-07-2023, 04:30 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,911
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by DNSB View Post
That would be unlikely unless his computer was connected directly to the internet. No matter what his internal address is, the packets would appear on the WAN with the router's external address. For example, your internal LAN uses 192.168.65.1-192.168.65.254 as the internal address while the router talks to your ISP using 92.67.26.17. No matter which internal address you use, a Google search on what's my ip address or visiting whatismyip.com, whatismyipaddress.com or similar site will show 92.67.26.17 as your public IP v4 address.

Edit: Perhaps the OP should check out What is DHCP and how does it work? or any similar site with a basic introduction to DHCP.
I had three things in mind when I added that phrase:
  1. Changing the IP address can "smooth" traffic, potentially avoiding discovery by LAN traffic analyzers.
  2. Changing the address will "encourage" the NAT gateway to use a different outgoing port, again smooting traffic and potentially avoiding detection by ISP traffic analyzers.
  3. IPv6 goes directly through the local router, not using NAT. As such it is exposed to the internet, and depends on firewall packet inspection in the router and on the local machine for security. Changing the address could help avoid the firewall. It could also avoid global address tracking. DHCPv6 doesn't change this.
chaley is offline   Reply With Quote
Old 04-11-2023, 04:45 PM   #10
jmurphy
Zealot
jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.jmurphy ought to be getting tired of karma fortunes by now.
 
Posts: 100
Karma: 1133068
Join Date: Sep 2007
Device: ipaq
Quote:
Originally Posted by Kedeco View Post
I can access the Content server easily enough. However, Calibre’s HTTP address is constantly changing and that never used to happen before. Every time I close and reopen Calibre and restart my computer.
In order to download a book to any device I have on my home network, I must go back to the calibre preferences, and copy down the number to change the address for anything I want to download. I do it every time it will not stay the same. The port always stays the same. It’s just the last set of numbers. http://192.168.1.XXX:8080. I’m tired of having to look it up all the time I want it static like before. Thoughts?

I absolutely adore the program. I wish it could arrange my music as well.

Kelli
If all this is on your internal local home network, you might be able to use the name of your PC instead of the IP.

http://PCNAME:8080

Can't hurt to try.
jmurphy is offline   Reply With Quote
Old 04-17-2023, 08:57 AM   #11
CubGeek
Connoisseur
CubGeek began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Sep 2021
Location: Upstate NY, USA
Device: iPad Pro, Kindle basic
Quote:
Originally Posted by Kedeco View Post
Makes NO sense it worked fine before and is not now. I certainly don't want to talk with you anymore. Go away, I'll just change it on my tablet every time.
CubGeek is offline   Reply With Quote
Old 04-19-2023, 01:29 PM   #12
cowboyceltic
Junior Member
cowboyceltic began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2017
Device: kindle paperwhite
Quote:
Originally Posted by Kedeco View Post
Makes NO sense it worked fine before and is not now. I certainly don't want to talk with you anymore. Go away, I'll just change it on my tablet every time.
They are correct that Calibre is not changing the IP assigned to your PC. Quite a rude response to someone trying to help.
cowboyceltic is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best device for accessing Calibre as a content server only / Best way to add content yelt Calibre 1 10-01-2020 09:53 PM
calibredb does not work with content server running (content server is using --enable Irvin Server 3 01-08-2019 02:47 AM
Content server on ubuntu 12.04 headless server ImageMagick: libltdl.so.7 Cool Javelin Calibre 5 04-08-2015 02:20 AM
Calibre Content Server and Windows Home Server 2011 HughMcC Calibre 8 10-01-2014 07:26 AM
500 Internal Server Error accessing content server Calibre 0.8.8 DaddyO57 Calibre 1 07-20-2012 06:08 PM


All times are GMT -4. The time now is 12:07 PM.


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