Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-16-2011, 08:12 AM   #1
Hamlet53
Nameless Being
 
Calibre server on DSL with dynamic IP

So I have a question about the Calibre server use. I find that this works just fine over my local home network. When the server is on the computer on which I have Calibre I can access my Calibre library with other computers and devices in my local network, including wireless devices, at http://127.0.0.1:8080/

However, this is not of that much use to me. What I would like to be able to do is be able to access my Calibre library from an Internet connection, say at a local cafe that provides WiFi. My home Internet connection is DSL and connects through a router to all my home network devices. My Internet service provider does not promise a fixed IP address, but I have noticed that unless I restart my router or disconnect it from the DSL line my IP address stays the same.

When I use a browser to access http://my_ip_address I get a dialog box requesting a user name and password. When I enter the user name and password for the DSL router settings program I am allowed access to this.

When I use a browser to access http://my_ip_address:8080 I get a browser error that the web page cannot be displayed. Under my Windows XP firewall settings I have added Calibre to the exceptions list and and assigned it to port 8080 with access from the Internet.

So can anyone suggest what else I might need to do to make this work?
  Reply With Quote
Old 02-16-2011, 08:31 AM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
You need to setup port forwarding on your router. When you go to your_ip_address you are going to the router. When you set up port forwarding you ar telling the router that you want all traffic coming in on a specific port (8080 in this case) to be forwarded on to the computer runnin calibre.

Also, look at dyndns. They offer a free service that will allow you to associate your ip address with a written adress (mycomputer.dundns.com for instace). If your router has support for dyndns' sevice it will update dyn with the new ip adress every time it changes.
user_none is offline   Reply With Quote
Advert
Old 02-16-2011, 08:36 AM   #3
jbcohen
Wizard
jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.
 
jbcohen's Avatar
 
Posts: 3,025
Karma: 11196738
Join Date: Oct 2010
Location: Piper College
Device: Samsung A21
User none is correct and that will get the job done. Another way to do this is some library management software include a web server in the software which will adapt your databse for communication over the internet. However the database would need to be password protected. My electronic library is not really that complicated to warrant a library management software.
jbcohen is offline   Reply With Quote
Old 02-16-2011, 08:54 AM   #4
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by jbcohen View Post
Another way to do this is some library management software include a web server in the software which will adapt your databse for communication over the internet.
This is included as part of calibre and this feature is what the OP is referring to.
user_none is offline   Reply With Quote
Old 02-16-2011, 09:47 AM   #5
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Hamlet53 View Post
So I have a question about the Calibre server use. I find that this works just fine over my local home network. When the server is on the computer on which I have Calibre I can access my Calibre library with other computers and devices in my local network, including wireless devices, at http://127.0.0.1:8080/
It's worth noting that 127.0.0.1 is the loopback address and refers to the computer you're currently on. It shouldn't (can't) work on any other computer on your network to access the Calibre server. I suspect you are using the local address, such as 192.168.0.x of your server computer to access the Calibre server from other computers on your home network.

As user_none said, you will need to set up your router to do port forwarding. For that to work well, you will also need to set up a dynamic DNS account, as he suggested. Most current routers have both those functions available (they are off by default), but even if the dynamic dns function is not available in your router (I have one that does not have it), you can run a local program on your Calibre server to update dyndns.

Good luck. It's tricky to set up if you haven't done this sort of thing before, but it's worth the effort.
Starson17 is offline   Reply With Quote
Advert
Old 02-16-2011, 09:59 AM   #6
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,775
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
One more point if you have more than 1 computer on your network.
You need to set your configuration so the it gets the SAME internal IP so port forwarding works.

Depending on your routers DHCP server's features. You may be able to 'reserve' a preset internal (192.168...) address by entering the MAC of your machine( eg. a1:b2:c3:f4:56:08) This features allows a laptop to still be fully portable (DHCP), but have a 'static' like address at it's home base.

Assign a Static IP (be sure to be above the DHCP assignment range, so someone else does NOT get your address).
theducks is offline   Reply With Quote
Old 02-16-2011, 10:30 AM   #7
slm
Fool
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 377
Karma: 3557934
Join Date: Feb 2003
Device: Kindle Voyage, Kindle PW1, Kobo Glo HD, Nook Glowlight Plus ...
A totally different approach:

If you have a Dropbox account, put your Calibre library inside the Dropbox folder.

This won't let you access the Calibre server, but the Dropbox folders are easily reached from anywhere and the Calibre library is just a set of folders with the books in the current formats in a pretty straight-forward organization.

For simply copying a book onto my reading device, I find this works quite well.
slm is offline   Reply With Quote
Old 02-17-2011, 11:30 AM   #8
Hamlet53
Nameless Being
 
@ user_none and Starson17 and theducks. Thank you for the compact education and suggestions. Starson you are correct that address 193.268.1.2:8080 that provides local network access to my Calibre server.

So over the past couple of days I have been experimenting with settings on my router to see if I could get external access. I found two settings that I thought might be what was need.

See attachment rouuter1.jpg. I could not get image insertion to work.

I tried this with both entries in this table (as shown) as well as with only one or the other. No success.

See attachment router 2.jpg

Again I tried this with both entries in this table (as shown) as well as with only one or the other. No success.

So unless one of you or someone else has any further ideas I may just go with the idea suggested by slm.

Karma to you all for attempting to help.
Attached Thumbnails
Click image for larger version

Name:	rouuter1.jpg
Views:	479
Size:	52.3 KB
ID:	66836   Click image for larger version

Name:	router 2.jpg
Views:	426
Size:	38.2 KB
ID:	66837  

Last edited by Hamlet53; 02-17-2011 at 11:32 AM.
  Reply With Quote
Old 02-17-2011, 11:47 AM   #9
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
The first setting is the one you want. I think the reason it didn't work is that you mistyped your IP address- in your post, you gave 193.268.1.2 as your internal IP, in the router configuration, you typed 192.168.1.2. So, obviously, one of both is wrong, you'll want to recheck that. Also, you only need the first entry (assuming correct IP), and the internal ports shouldn't be needed from what I see of the explanation text. Ditch the whole port triggering setting, that's not what you want.
Also, generally speaking, having a little more detail that "no success" might be nice. Did you try to connect to your router's public IP? Have you set up DynDNS? If yes, is DynDNS working?
Manichean is offline   Reply With Quote
Old 02-17-2011, 12:00 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,775
Karma: 54830978
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 Hamlet53 View Post
@ user_none and Starson17 and theducks. Thank you for the compact education and suggestions. Starson you are correct that address 193.268.1.2:8080 that provides local network access to my Calibre server.

So over the past couple of days I have been experimenting with settings on my router to see if I could get external access. I found two settings that I thought might be what was need.

See attachment rouuter1.jpg. I could not get image insertion to work.

I tried this with both entries in this table (as shown) as well as with only one or the other. No success.

See attachment router 2.jpg

Again I tried this with both entries in this table (as shown) as well as with only one or the other. No success.

So unless one of you or someone else has any further ideas I may just go with the idea suggested by slm.

Karma to you all for attempting to help.
The 192.168.1.1 should be your router AND not open to the outside: I suggest removing this entry.

We will assume that 192.168.2 is your Calibre PC

Code:
outside->router 8080 forwarded to192.168.1.2->CalibrePC
theducks is offline   Reply With Quote
Old 02-17-2011, 02:00 PM   #11
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
1) 192.168.1.2 is your PC address internally (the one that runs Calibre). Leave that in the NAT-Virtual Server page you posted for port 8080 (make sure that Calibre's Server is set to 8080)
2) 192.168.1.1 is your router address internally. Take that out of the NAT-Virtual Server page for port 8080
3) You don't need port triggering at all. Remove the address from NAT-Port Triggering.
4)After you've made those changes, you are almost there Go to:
http://www.whatismyip.com/
That will tell you your external (WAN) address on the internet. Say it tells you your address is 75.86.15.48.
Then go to any computer with internet access and type the following into the address bar: http://75.86.15.48:8080
You should see a login for your Calibre server.

It will stay valid until you reboot your router or otherwise change your ip address on the internet. To get a permanent URL address, like hamlet53.dyndns.org:8080 that never changes, you should set up dyndns on your router (or run it separately if your router does not support it.)
Starson17 is offline   Reply With Quote
Old 02-20-2011, 07:57 PM   #12
Hamlet53
Nameless Being
 
Thanks for the additional help and advice all. Unfortunately I could just never get this to work. Even at at the suggested settings when I type in http://my_current_IP:8080 all I get, after a long page loading pause, is "connection reset etc." That's alright I have now set up a drop box account that should suit my purposes. Once more thanks all
  Reply With Quote
Old 05-31-2011, 06:39 PM   #13
ggurl
Junior Member
ggurl began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2011
Device: NookColor
Starson,

Thank you so much for your posts, they were on point! I registered to say thank you. I've not been able to figure out how to configure my Calibre for internet access (off wifi), your directions, made it FINALLY a reality.

I was even able to set up my own DynDns url. Many MANY THANKS.
~GGurl
ggurl is offline   Reply With Quote
Old 06-01-2011, 10:23 AM   #14
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by ggurl View Post
Starson,

Thank you so much for your posts, they were on point! I registered to say thank you. I've not been able to figure out how to configure my Calibre for internet access (off wifi), your directions, made it FINALLY a reality.

I was even able to set up my own DynDns url. Many MANY THANKS.
~GGurl
I'm glad the posts helped. I use the content server from multiple phones, friend computers, android tablets and my laptop. Once you are comfortable with the powerful search capability of Calibre, you will be able to find anything very quickly.
Starson17 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic keymaps Mackx iRex Developer's Corner 42 04-25-2012 08:56 AM
Using the Calibre Server jabberwock_11 Calibre 7 02-04-2011 04:27 PM
calibre Server TonytheBookworm Calibre 3 01-20-2011 05:33 AM
Calibre Server Podrunner Software 2 01-15-2011 08:23 AM
Calibre server zzmijarevic Calibre 10 08-21-2010 06:40 AM


All times are GMT -4. The time now is 03:47 PM.


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