Author Topic: IP address without port, possible?  (Read 3208 times)

0 Members and 1 Guest are viewing this topic.

Offline zilexa

  • Occasional poster
  • *
  • Posts: 10
    • View Profile
IP address without port, possible?
« on: September 10, 2009, 08:59:04 PM »
When I want to access my HFS externally, I type in my dyndns link + portnumber (blalbla.blala.com:100).

Portforwarding in my router has been setup so that port 100 will be forwarded to my pc.

Everything works fine actually.

But I was wondering, would it be possible to only enter blalba.blalbla.com and see HFS? Without ":100" ?

I've read here people are using port 80.... but is that safe? Or is it wise? Because I use the same pc for internet, email, utorrent, filezilla FTP server... and I thought that port 80 is the default port for webbrowsing, so I cannot use that port for HFS. Also I thought it would be safer to give HFS its own port (and '100' seems simple).


Offline bacter

  • Operator
  • Tireless poster
  • *****
  • Posts: 682
    • View Profile
Re: IP address without port, possible?
« Reply #1 on: September 10, 2009, 09:35:13 PM »
Port 80 is the default port where a web server listens to incoming connections. Your browser uses any available port to connect to a server, so browse you don't need port 80.

There are only two ways to use an url without :port to connect to your server:

a) use default port 80 the same way as any web server (recommended!)

b) use a special dns account as there are some available that add the port number to the ip.

Whatever uses you give to your pc, as long as you don't run another webserver on it, you can use port 80 for hfs.

your computer has no brain - use your own !

Offline zilexa

  • Occasional poster
  • *
  • Posts: 10
    • View Profile
Re: IP address without port, possible?
« Reply #2 on: September 14, 2009, 07:52:34 AM »
Ok thanks I didn't know that.
I am using dyndns.org (free account) so that I can use a nice domain name instead of IP address but I couldn't find any option to set a port for the ip address.
So I guess using port 80 is the best way to go! thanks!

Offline exorcist

  • Occasional poster
  • *
  • Posts: 9
  • King of the Dust
    • View Profile
    • Dusted Wax Kingdom
Re: IP address without port, possible?
« Reply #3 on: December 11, 2009, 06:28:49 PM »
For most of the routers by default use port 80 for their web configuration, I tried to forward external port 80 to internal 8000 (in your case port 100) and runned HFS with port 8000 (in your case port 100). It worked absolutely great for me, the http server was accessible from outside network without a need to include the port.
In dust we trust...