Results 1 to 11 of 11
Thread: Port Forwarding In Java?
- 08-11-2011, 08:22 PM #1
Port Forwarding In Java?
Hello, I was wondering if their is anyway to port forward in java. I am sure their is some way to do this, but I really would have no idea how to even attempt to do this, so I would appreciate if someone could either give me some code that port forwards or explain how I would go about port forwarding in java.
- 08-11-2011, 09:30 PM #2
Is port forwarding done by a setting in a router to assign the router's IP address to one of the PCs on its LAN?
- 08-11-2011, 09:40 PM #3
I am not exactly sure. I know what it is used for (of course), but how it is actually done I don't now. If you want to look at a wiki on it heres a link:
Port forwarding - Wikipedia, the free encyclopedia
Port forwarding is used to let normally a server go past a routers firewall so that others may connect to it.
- 08-11-2011, 09:43 PM #4
Would the settings be made by communicating to the router and telling it what you want done?
- 08-11-2011, 09:50 PM #5
I think so, and I found a pretty good definition for it.
In home networking, port forwarding, also called port mapping or punch-through, enables you to create a permanent translation entry that maps a protocol port on your gateway machine to an IP address and protocol port on your private LAN. It's a transparent process, meaning network clients cannot see that port forwarding is being done. This process enables you to run a public Internet service on a machine that is otherwise hidden from the Internet by your gateway. Port forwarding may also be used to aggregate traffic from an application that uses several ports for transactions and consolidate it into one port for reporting the total traffic identified with that application.
- 08-11-2011, 09:53 PM #6
Do you know how to tell your router that you want that done? Is it the same for all routers or will each one be different?
Mine has a URL I can use to connect to it via a browser and have it change its settings.
- 08-11-2011, 09:54 PM #7
- 08-11-2011, 09:56 PM #8
Mine has a URL I can use to connect to it via a browser and have it change its settings.
Try writing a small program that uses your router's address, send it an HTTP GET and see what it responds.
- 08-11-2011, 09:58 PM #9
- 08-11-2011, 09:59 PM #10
An HTTP GET is the most basic command that a browser sends to a server asking for a html file.
- 08-11-2011, 10:01 PM #11
Similar Threads
-
Forwarding from Servlet to JSP
By Robert_85 in forum Java ServletReplies: 0Last Post: 04-25-2010, 04:37 PM -
how to force port-forwarding for socket on a se505 router
By j2me64 in forum NetworkingReplies: 1Last Post: 01-17-2010, 03:29 PM -
forwarding to a servlett
By dilanka007 in forum New To JavaReplies: 2Last Post: 01-17-2010, 12:23 PM -
Forwarding data problem with struts.xml
By Shaolin in forum Web FrameworksReplies: 0Last Post: 01-08-2009, 05:29 AM -
Forwarding mails in message/rfc822
By prithviraj in forum Advanced JavaReplies: 0Last Post: 05-18-2008, 10:30 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks