INTERACT FORUM

Please login or register.

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

Author Topic: problem connecting to library server over internet  (Read 2347 times)

nickharambee

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 365
  • doh!
problem connecting to library server over internet
« on: July 19, 2006, 02:46:11 pm »

hi

i have 2 laptops, one running as the media server and one as the client. i can succesfully connect the client to the server using my home network (i.e. local ip address), but i am now trying to connect via the internet, using the external ip address of the laptop on which the server is running.  i have the library server running on port 85 and on the client i am entering  80.43.90.155:85 under location of the library, but i am getting the error message: Media Center failed to load the library '<name of library>' and will attempt to load the previously selected library'.  the ip address of the server is definitely correct.  i have turned off the firewall on both laptops, just in case it was a firewall issue.  am i doing something wrong?

thanks

nick
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: problem connecting to library server over internet
« Reply #1 on: July 19, 2006, 03:04:55 pm »

If you use a router at home, you need to connect to its external address, then set up the router to forward packets on that port to your internal IP address of the server.  Here's a page that might help:

http://www.perbcast.com/network.html
Logged

nickharambee

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 365
  • doh!
Re: problem connecting to library server over internet
« Reply #2 on: July 19, 2006, 05:30:03 pm »

can't make a lot of sense of the page you directed me to.

i am trying to find out the external ip address of the router.  on the status page of my belking router it lists the external ip address of the laptop that i am using, a default gateway (212.74.111.xxx) and 2 DNS servers.  is the default gateway the external ip address of the router?

thanks

nick
Logged

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re: problem connecting to library server over internet
« Reply #3 on: July 19, 2006, 08:06:10 pm »

default gateway would be your internet provider's ip address that you access to get to the internet.
look for one that is labeled "WAN IP address" or similar.
Your LAN IP address would be in the internal ip address range such as 192.168.x.x.
Your laptop shouldn't have an external ip address at all.
Both laptops generally would have internal ip's only, and the router would have a WAN IP address that's external on the internet.
Plus, as was already mentioned, the router will need to be configured to forward traffic incoming on port 25 to the internal ip address of your "server" laptop.

Logged

nickharambee

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 365
  • doh!
Re: problem connecting to library server over internet
« Reply #4 on: July 20, 2006, 03:42:19 am »

ok, so the ip address of the router is 80.43.90.155, which is a dynamic ip address linked to a domain (nickharambee.com).  i have forwarded port 25 (tcp and udp) to the internal ip address of the server, but still can't connect to the library server.  exactly what format do i need to enter the location of the library?  at the moment i have http://80.43.90.155:85 because the library server is running on port 85 (presumably i could also use http://nickharambee.com:85).  why is it that i need to forward port 25 to the server laptop, and not port 85?

thanks

nick
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: problem connecting to library server over internet
« Reply #5 on: July 20, 2006, 09:42:40 am »

Forward port 85, not 25 (25 is SMTP mail)

j

nickharambee

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 365
  • doh!
Re: problem connecting to library server over internet
« Reply #6 on: July 20, 2006, 10:24:46 am »

ok, i am now forwarding port 85 and still get the same error message which comes up instantly once i try to connect. am i entering the location of the library right: http://80.43.90.155:85 on the client?

nick
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: problem connecting to library server over internet
« Reply #7 on: July 20, 2006, 10:49:52 am »

leave off the http:// from the beginning (in the library manager).

What happens if you enter "http://80.43.90.155:85/" in a browser window?

j

nickharambee

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 365
  • doh!
Re: problem connecting to library server over internet
« Reply #8 on: July 20, 2006, 03:53:26 pm »

ok, i took away the http and now i can connect and all seems to work well, though i have yet to test from a location other than home.

when i enter "http://80.43.90.155:85/" in a browser window i get an error message saying can't load page.  what should i be getting?

nick
Logged

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re: problem connecting to library server over internet
« Reply #9 on: July 20, 2006, 09:10:19 pm »

why is it that i need to forward port 25 to the server laptop, and not port 85?

thanks

nick


25 was a typo, meant 85.
Logged
Pages: [1]   Go Up