redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

common port used by java progs for common protocols


Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Web Design Forums -> JAVA programming forum
View previous topic :: View next topic  
Author Message
ovigo22



Joined: 15 May 2006
Posts: 130
montanarry, i see
so you want my /etc/services file? :)
  Reply with quote


montanarry



Joined: 13 May 2006
Posts: 175
Like tomcat uses 80:80 i.e a webserver it serves jsp and servlets
  Reply with quote
ovigo22



Joined: 15 May 2006
Posts: 130
It has a list of port -> protocol
oh it's not common
8080 is not a standard port
  Reply with quote
montanarry



Joined: 13 May 2006
Posts: 175
Ok tell me how many protocols are there
And what ports they use
Then could you please tell me out of those ports which are/can be used by java applications
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
there are an infinite number of protocols, everyone uses his own...
  Reply with quote
ovigo22



Joined: 15 May 2006
Posts: 130
montanarry, there are too many if you are looking for non-standard ports
  Reply with quote
AmeliaR



Joined: 31 May 2006
Posts: 142
so how many stars are there, exactly?
  Reply with quote
montanarry



Joined: 13 May 2006
Posts: 175
Very Happy
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
there are 2^16 ports, you can use them all in java...
  Reply with quote
montanarry



Joined: 13 May 2006
Posts: 175
Infinite
What about standard ports
  Reply with quote
AmeliaR



Joined: 31 May 2006
Posts: 142
look at /etc/services
  Reply with quote


Koplaf



Joined: 28 May 2006
Posts: 130
montanarry, using some ports might require admin/root rights
  Reply with quote
montanarry



Joined: 13 May 2006
Posts: 175
Ernmimril, what standard ports you are talking about?
I dont have unix system buddy, i am on windows
  Reply with quote
ovigo22



Joined: 15 May 2006
Posts: 130
montanarry, http://iptables-tutorial.frozentux.net/other/services.txt
  Reply with quote
AmeliaR



Joined: 31 May 2006
Posts: 142
montanarry, then why worry about ports? You're vulnerable regardless :)
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
montanarry, are you just trolling?
  Reply with quote
ovigo22



Joined: 15 May 2006
Posts: 130
No it's not :)
  Reply with quote
montanarry



Joined: 13 May 2006
Posts: 175
AmeliaR, you got that right man
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
montanarry,did you google for the services file yet? that is the list of standard services (ports+applications)
  Reply with quote
montanarry



Joined: 13 May 2006
Posts: 175
For windows
?
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
yes
Windows systems: %SystemRoot%\System32\drivers\etc\services for example: C:\WINDOWS\system32\driver\etc
do you know how to use google?
  Reply with quote


montanarry



Joined: 13 May 2006
Posts: 175
Yup i got it
So Koplaf: standar protocols are tcp/ip and udp right?
Standard*
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
go and buy some books on network programming
how old are you? 7?
"unix network programming" may be a good book to read
tcp/udp and ip are network protocols on a low level, your applications generally use a higher level protocol like http
http typically runs on top of tcp/ip
  Reply with quote
PaulKolin



Joined: 25 May 2006
Posts: 108
IP is in the network layer, tcp and udp are in the transport layer, http is in the application layer - each dependent upon and "riding on" the previous.
  Reply with quote
montanarry



Joined: 13 May 2006
Posts: 175
So java programs can use any port, right ?
  Reply with quote
Page 2 of 3 Goto page Previous  1, 2, 3  Next
Post new topic   Reply to topic    Web Design Forums -> JAVA programming forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group