INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Solved: Can't start Library server on port 80 anymore  (Read 3538 times)

Marty3d

  • Citizen of the Universe
  • *****
  • Posts: 1363
Solved: Can't start Library server on port 80 anymore
« on: April 28, 2008, 12:12:01 pm »

As the title says. Had recently moved to a new system, a vista machine, but all other hardware are unchanged, and the machine uses the old ones IP number.
The only MC says is:
04/28/08 12:58:48 - JRiver Library Server Version 1.0.38 starting...
04/28/08 12:58:48 - Starting Auto Detect beacon
04/28/08 12:58:48 - Failed to start sharing

Any ideas? Btw, if I try tot start the server again, MC crashes :/
Logged


JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: Can't start Library server on port 80 anymore
« Reply #1 on: April 28, 2008, 12:27:53 pm »

Sounds like the firewall is preventing access on that port. 

Or something else is running on that port.  Try moving to 81.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Can't start Library server on port 80 anymore
« Reply #2 on: April 28, 2008, 12:33:01 pm »

Which version of MC? Post your system info please.

Thanks,

j

Marty3d

  • Citizen of the Universe
  • *****
  • Posts: 1363
Re: Can't start Library server on port 80 anymore
« Reply #3 on: April 28, 2008, 01:18:48 pm »

It's probably not MC "fault", but I'm posting the problem since you're all such experts! :)

What else? Used Zonealarm on the old computer, but am using Kaspersky instead. Haven't had any problem with my laptop though (more or less the same software installed).

Port 81 is working though, but I can't use it since my employers fw blocks all ports except the most standard ones :(

Media Center 12.0.488 Registered -- C:\Program Files\J River\Media Center 12\

Microsoft Windows Vista 6.0 Service Pack 1 (Build 6001)
Intel Pentium III 2663 MHz MMX / Memory: Total - 2095 MB, Free - 1131 MB

Internet Explorer: 7.0.6001.18000 / ComCtl32.dll: 5.82.6001 / Shlwapi.dll: 6.0.6001 / Shell32.dll: 6.0.6001 / wnaspi32.dll: N/A
Ripping /   Drive E:   Mode:Normal  Type:Auto  Speed:Max
  Drive F:   Mode:Normal  Type:Auto  Speed:Max
  Digital playback: Yes /  Get cover art: Yes /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: Yes /  Play sound after ripping: No 

Burning /  Drive E: TSSTcorp CDDVDW SH-S202J    Addr: 0:0:0  Speed:48  MaxSpeed:48  BurnProof:Yes
  Test mode: No /  Eject after writing: Yes /  Direct decoding: Yes /  Write CD-Text: Yes
  Use playback settings: No /

Portable Device Info
  Removed devices:

Interface Plugins:
  last.fm (Active)
  Library Server (Active/Enabled)
  TiVo Server (Active)
  UPnP Server (Active)
Logged


Eccles

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 99
  • Mostly harmless.
Re: Can't start Library server on port 80 anymore
« Reply #4 on: April 28, 2008, 01:23:32 pm »

Port 81 is working though, but I can't use it since my employers fw blocks all ports except the most standard ones :(
Check your firewall router's port forwarding settings - many will allow you to change the target port as well as specifying the destination address, so for example, you could forward incoming traffic on port 80 to port 81 on your MC PC.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Can't start Library server on port 80 anymore
« Reply #5 on: April 28, 2008, 02:15:07 pm »

It's probably not MC "fault", but I'm posting the problem since you're all such experts! :)

Media Center shouldn't crash though. Could you create a log of the crash (under Help->Logging)?
Make sure at least "Sharing Plugins" and "General" are selected.
E-mail it to me (gateley @ jriver.com)

Thanks,

j

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Can't start Library server on port 80 anymore
« Reply #6 on: April 30, 2008, 10:14:21 am »

I need the exact sequence of steps to reproduce the crash. I tried stopping and restarting the server, and it looks like the place the log indicates it is crashing is never used...

j

Marty3d

  • Citizen of the Universe
  • *****
  • Posts: 1363
Re: Can't start Library server on port 80 anymore
« Reply #7 on: May 01, 2008, 04:26:47 am »

I'm not sure I follow you. But here's what I do:
1. Start MC (Library server is ON, but fails to listen on the selected port for an unknown reason)
2. Navigate to LS in the tree. Following err msg appears:
05/01/08 11:24:43 - JRiver Library Server Version 1.0.38 starting...
05/01/08 11:24:43 - Starting Auto Detect beacon
05/01/08 11:24:43 - Failed to start sharing
3. Click on Start Server again. Error msg appear again, but the button now shows Stop Server.
4. Click on Stop Server again. Boom.

Just tried this on my laptop, same error and same trouble connecting on port 80. Using Kaspersky, could that be it?
Logged


John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Can't start Library server on port 80 anymore
« Reply #8 on: May 01, 2008, 09:25:52 am »

I think I've fixed the crash, that'll be available in build 491 or higher.

The problem, though, is that something else is running on port 80. If you want to use port 80 for Library Server, you'll have to figure out what it is and turn it off or change it. (It's not Kapersky, probably).

Use the netstat -an command, look for listeners on port 80. If the listener is only there when MC is running, it is probably Remote Server.

j

Marty3d

  • Citizen of the Universe
  • *****
  • Posts: 1363
Re: Can't start Library server on port 80 anymore
« Reply #9 on: May 02, 2008, 06:59:18 am »

Use the netstat -an command, look for listeners on port 80. If the listener is only there when MC is running, it is probably Remote Server.
I tried using netstat -ano command and found that process id 1800 (Media Center 12.exe) were using port 80... but what's remote server?

I'll try the new build and check if the crash is gone...
Logged


Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Can't start Library server on port 80 anymore
« Reply #10 on: May 02, 2008, 09:00:53 am »

I tried using netstat -ano command and found that process id 1800 (Media Center 12.exe) were using port 80... but what's remote server?

I'll try the new build and check if the crash is gone...

Options > Startup > Startup Actions > Run Remote Server on port: 80  (80 is the default)

The program Help has a good explanation of Remote Server.


Gateley,

I can confirm that 12.0.490 crashes when Remote Server is running on port 80 and Library Server is started when it is set to run on the same port.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Can't start Library server on port 80 anymore
« Reply #11 on: May 02, 2008, 09:05:52 am »

I can confirm that 12.0.490 crashes when Remote Server is running on port 80 and Library Server is started when it is set to run on the same port.

Thanks... 491 should fix it...

j

Marty3d

  • Citizen of the Universe
  • *****
  • Posts: 1363
Re: Can't start Library server on port 80 anymore
« Reply #12 on: May 02, 2008, 11:40:17 am »

Ah, the Remote Server it was! Two problems solved, fantastic!

Conclusion:
1. MC SHOULD really know and inform about these conflicts. Perhaps a little "The suggested port is already in use by x". You know, the old "left hand knows what the right hand does" thingy :)
2. Remote Server is a bit supercool! I've always been un-checking that one before, not knowing what it was. I'm not sure I have any use for it, but cool nevertheless. Is there a way of changing it's most minimalistic interface in some way? And is it true what the copyright says, no development since 2006? This could be something truly amazing...I think :)


Thanks John, and everyone else for helping me out!
/Martin
Logged


John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Can't start Library server on port 80 anymore
« Reply #13 on: May 02, 2008, 01:25:05 pm »

1. MC SHOULD really know and inform about these conflicts. Perhaps a little "The suggested port is already in use by x". You know, the old "left hand knows what the right hand does" thingy :)

I could special case that one, but in general you don't know what is listening on the port you want...

Glad it's working for you.

j
Pages: [1]   Go Up