Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-18-2014, 02:40 PM   #1
pesto126
Junior Member
pesto126 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2014
Device: Kindle HDX, Ipad
Port Forward Not working on MAC - ok on PC

Hi all.. experienced Calibre user here with a big problem I cannot figure out. I have been running a calibre server (headless on PC via bat file at startup) for many years... have my PC setup to port forward 8080 for UDP/TCP for my local IP via Verizon FIOS router.

Recently switched to a MAC and setup Calibre server there via Automator script file upon login... server works great via my local IP address and port 9090 - but I cannot access from outside the network using my "real" IP address. The port forward is setup the same as it was on my PC (except for the port switch).. can't figure this one out and was hoping for some ideas...

Have Little Snitch running but turned off to test and still no dice to access via real IP address. No other "firewall" running on MAC that I am aware of.

Last piece of the puzzle to move completely over to MAC... thx
pesto126 is offline   Reply With Quote
Old 07-18-2014, 05:35 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,986
Karma: 60358908
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 pesto126 View Post
Hi all.. experienced Calibre user here with a big problem I cannot figure out. I have been running a calibre server (headless on PC via bat file at startup) for many years... have my PC setup to port forward 8080 for UDP/TCP for my local IP via Verizon FIOS router.

Recently switched to a MAC and setup Calibre server there via Automator script file upon login... server works great via my local IP address and port 9090 - but I cannot access from outside the network using my "real" IP address. The port forward is setup the same as it was on my PC (except for the port switch).. can't figure this one out and was hoping for some ideas...

Have Little Snitch running but turned off to test and still no dice to access via real IP address. No other "firewall" running on MAC that I am aware of.

Last piece of the puzzle to move completely over to MAC... thx
Port forward is a function of your router and nothing to do with Calibre other than it is the target.

The 'port' (eg 9090) is important, having the correct IP is more important.

If you run DHCP, you wil not always get the sam IP unless you set a reservation in your router for your MAC
theducks is offline   Reply With Quote
Advert
Old 07-19-2014, 05:23 PM   #3
pesto126
Junior Member
pesto126 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2014
Device: Kindle HDX, Ipad
thx but I am aware of all that and mentioned it works perfectly on my PC (same network/same router/same external IP address/different port).. but the MAC doesn't so I was looking for advice from anyone who has been able to get this to work outside the home for a MAC... the router is obviously not redirecting to the 9090 port for the MAC for some reason.. internal address all work perfectly from multiple devices within the network using 9090.

My external IP address hasn't changed in over 2 years... and my internal IP address is known by the router (it comes up with the name and IP address - it too hasn't changed since I set it up). I setup port 9090 as the UDP/TCP port and to forward to the same... no dice trying to access outside the local ip address (in fact, I can't access it using the external address even from within the network - which I can do on my PC).

I know the router can communicate with the MAC because it has ports setup automatically via NAT-PMP (something I wish Calibre adds by the way - auto port setup for the server!!) for Skype and Folx.. It remains a mystery!!

Guess no one really uses the server function all that much... truly a shame as I think it is a fantastic way to visually search and get your books in a library style format. Guess I'll have to go the dropbox route and just use the author / title approach.. also surprised there aren't more PHP or other software online to do the same... is there no market for an amazon/B&N style "store" for personal documents, etc?

thx anyway...
pesto126 is offline   Reply With Quote
Old 07-19-2014, 06:06 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,545
Karma: 145863177
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Check on the MAC is you have any sort of firewall running.
JSWolf is offline   Reply With Quote
Old 07-19-2014, 09:49 PM   #5
pesto126
Junior Member
pesto126 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2014
Device: Kindle HDX, Ipad
Nope... firewall has been off since day 1. The only thing that is running is Little Snitch but even turning this off causes a fail upon trying to reach the address. Again - local IP load calibre server just fine... its only when I try outside IP (from inside OR outside) that it fails on MAC only.

Might just need to shift this whole thing over to my windows machine and just have it running 24/7 to host the books... silly since my MAC is already on 24/7 but I just can't figure this out and frankly.. I'm getting tired of trying.
pesto126 is offline   Reply With Quote
Advert
Old 07-19-2014, 10:47 PM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Have you tried using a different external port? Your ISP might be blocking 9090. Or the place you are testing from could be blocking it. Maybe you should try 8080 as you know it works. Or point 9090 to the Windows machine to see if you can reach it.
davidfor is offline   Reply With Quote
Old 07-20-2014, 08:12 PM   #7
pesto126
Junior Member
pesto126 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2014
Device: Kindle HDX, Ipad
Quote:
Originally Posted by davidfor View Post
Have you tried using a different external port? Your ISP might be blocking 9090. Or the place you are testing from could be blocking it. Maybe you should try 8080 as you know it works. Or point 9090 to the Windows machine to see if you can reach it.
That was a really good thought... unfortunately - 8080 didn't work either. I think I'm just going to move the whole thing to my windows machine... it works there and that's ok.. wish it worked on my MAC as well but I'm about out of thoughts and ideas here.

Of course - if any mac users have figured this out and can help further.. I'd love to solve this problem!

I should note that using the external address with either port form within my network brings me to the FIOS router sign on page... externally (from my iPhone using 4G or from my work network) I just get a page not found timeout screen.
pesto126 is offline   Reply With Quote
Old 07-20-2014, 09:07 PM   #8
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Have you tried to telnet to the port? The response can give an idea of what is happening.

From what you have said, it seems it can only be one of:

- Router is configured to port forward to the wrong internal IP or port.

- Router has some firewall rule preventing it from sending external comms to that internal IP address.

- Something on the MAC is blocking access to that port from the router.

- The return route the MAC is using is wrong. That means the reply could be being lost.

The last one made me think of something. Have you looked at the calibre server logs? If the problem is that the reply is being lost, there should be something in the logs to show that the external IP reached it.
davidfor is offline   Reply With Quote
Old 07-21-2014, 08:09 AM   #9
pesto126
Junior Member
pesto126 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2014
Device: Kindle HDX, Ipad
Quote:
Originally Posted by davidfor View Post
Have you tried to telnet to the port? The response can give an idea of what is happening.

- The return route the MAC is using is wrong. That means the reply could be being lost.

The last one made me think of something. Have you looked at the calibre server logs? If the problem is that the reply is being lost, there should be something in the logs to show that the external IP reached it.
Of all the things I tried and tried... viewing the logs didn't even dawn on me! So, I took a look at the logs and found that port 9090 was not accessible. So, based on your last statement, I played with the server until I found a port that did work and VOILA! Using Automator, I built a headless bash script to start the server upon login and now I can access my library from both inside and outside the network.

What little Karma I had sent your way and I thank you for not giving up on me and my problem. Easy solution... but when you think you've tried everything... sometimes looking a log slips your noggin!

Thx again my friend!
pesto126 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
500 internal server error when port forwarding on mac thrilly Calibre 3 04-12-2013 11:38 AM
K4's right forward page turn button not working sneakyspider Amazon Kindle 6 01-25-2013 02:53 PM
Mini-USB Port on PE not working katzmj enTourage eDGe 4 07-06-2011 09:45 PM
Sigil 0.1.2 for Mac not working AprilHare Sigil 6 02-10-2010 09:25 AM
PRS-500 FBReader? Is anyone working on a port? delphidb96 Sony Reader Dev Corner 3 07-29-2008 03:08 AM


All times are GMT -4. The time now is 11:48 AM.


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