|
| |||||||||
| Tags: server |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| Create a server on port <1024 without being root
I made a program that acts as a server, and I would do it through a port rather "small." Problem: impossible to create a server when I take a relatively small port. And I have a vague recollection of having learned that it was possible to listen on ports less than 1024 only as root Since the program contains several thousand lines of code that make a lot of things (to write to files selected by the user !!!), and also because I do not want to type my password every time I start, I would like to know if there is not a way to make an "exception" or something along the lines to listen on this port without being root? thank you in advance, |
|
#2
| |||
| |||
| Re: Create a server on port <1024 without being root
Why especially a port <1024? The range of 1025 to more than 65,000 is not big enough? |
|
#3
| ||||
| ||||
| Re: Create a server on port <1024 without being root
There are two reasons: 1) that seems more the port is small, the greater the priority (well, I see not how it is possible too, but hey, there may be a "true") 2) I prefer to use a port type 80 for example, because it 99% chance of being always open, even in a rather "filtered". Knowing that I took this decision after seeing a guy who was in a university room (or something like that ) And who could not use my program. |
|
#4
| ||||
| ||||
| Re: Create a server on port <1024 without being root
Port 80 and has a great chance of being used by Apache or other software such as Skype ... However I am also interested in a possible solution. |
|
#5
| ||||
| ||||
| Re: Create a server on port <1024 without being root
Why not do a NAT with iptables rule that redirects connections to a port X <1024 to another port Y> = 1024?
__________________ FIFA 09 preview |
|
#6
| ||||
| ||||
| Re: Create a server on port <1024 without being root Quote:
Quote:
Because I do not have iptables installed, and I too did not want to install just for this ... (my office is already livebox firewall) There are no other solutions to add an exception, or even disable this security (unless it poses security problems ). And if not, there comes an idea: It would not be possible to make a routing rule on the NAT livebox to redirect that enters on port 80 to port 1234 for example? Because I seem to remember that this is possible on the interface I'm trying ... it's night and I would like to see current |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Create a server on port <1024 without being root" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Create Client Printer on Server 2008 with IPP port | Bikendi | Networking & Security | 5 | 19-04-2011 11:36 PM |
| call of duty modern warfare Error - Couldn't create a 1024 x 2048 render target surface | tomerking1212 | Video Games | 1 | 21-10-2010 07:40 AM |
| DCDiag Test - DNS Root hints list has invalid root hint server | Sean | Windows Server Help | 5 | 07-06-2010 11:47 PM |
| Error: Root hints list has invalid root hint server | stevesemple | Windows Server Help | 10 | 22-03-2009 06:57 PM |
| Convert Enterprise Root CA to Standalone Root CA and create newSubordinate CAs | Chris Morley | Windows Security | 4 | 05-03-2009 05:12 AM |