473,387 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Is it possible to have a public server application on a network without port forwardn

13
Hey
This is a little hard to explain but I will try my best. Is it possible to have a application running on a specific computer on a network, and to have all requests sent from the internet sent to that specific machine, without setting up port forwarding, and if so, is this something which would need to be hard coded into the application, but im inclined to think that it isnt. An example: multiple users on a network can browse the web at the same time, and even without port forwarding set up, the information is sent back to the right machine. I am not sure if this is built into the router though, as web browsing is one of the more common uses of the internet in the home. Another possible example, games which support online multiplayer work, most of the time without having to set up port forwarding.

If you need me to expand, please just ask :)

thanks

ethangk
Jun 10 '09 #1
4 1811
Nepomuk
3,112 Expert 2GB
I'm no expert on network programming, but as I understand it, if the client behind the router sets up the connection (e.g. by requesting some data from the server), the answer should automatically be sent back to this specific client. If however the server tries to connect to the client (and therefore the server becomes a client and vice versa), then port forwarding is needed.

So, if I'm correct with this assumption, that would mean:
ClientSocket => no port forwarding needed
ServerSocket => port forwarding needed

My guess is however, that you can get more specific answers to this in the Networking Forum, so maybe this thread should me moved there.

Greetings,
Nepomuk
Jun 15 '09 #2
ethangk
13
Thanks, will post it in there, unless there is a way to get a mod to move it there?
Jun 15 '09 #3
Here's what I think is the case, although I'd love to be proven wrong in that there are other possibilities:

Port forwarding will always be required unless one of the following is true:
• Your router doesn't require it.
• You're playing over your own network, and not through the Internet.
• Everyone playing the game is connecting through a dedicated server. None of the players are acting as the server. (In this case, the server would be the one that would need to worry about port forwarding, if applicable, and not anyone playing the game).

I'm guessing every time it seems like port forwarding isn't required, you're really just all connecting to a third-party server (whether or not you're told). That's how instant messengers and such work, anyway.
Nov 19 '09 #4
Do you need help setting up port forwarding, or setting up a server?

I'm not an expert on servers, but I may be able to help you get started a little, as I've set my own up (on Ubuntu).

You may be able to find a service online that lets people use their servers for such purposes. Here's a random site that might, although you can probably find more suitable ones, since this is the first that came up in my search:
http://www.ultimategameserver.com/
Nov 19 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

22
by: Robert Brown | last post by:
suppose I have the following table: CREATE TABLE (int level, color varchar, length int, width int, height int) It has the following rows 1, "RED", 8, 10, 12 2, NULL, NULL, NULL, 20...
2
by: learning_C++ | last post by:
Hi, I found some example code about server and client applications. But I can not run server and client in different computers. Now, I only run them in the different windows in Linux. I hope to...
16
by: MLH | last post by:
Using MS Access, I have attached to MySQL servers in other states and other countries on the other side of my router. But when I use the MySQL ODBC driver 3.51 to connect to a MySQL server on my...
30
by: aka | last post by:
Hi I have a DB2 v8.1 on AIX and DB2 Connect EE on Solaris wich is connected to OS/390 DB2 subsystems via APPC / SNA. I have cataloged the DB2 Connect instance as tcpip node and then the Host DB...
1
by: DaTurk | last post by:
I have this MultiCast application I'm working on, and for some reason it won't let me bind more then one socket onto different emdpoints using the same ip/port. I'm new to network programming so...
1
by: polaris431 | last post by:
I would like to obtain encypted data over a network in real-time. The nature of the data and process is as follows... A physical hardware device is located at some remote location. When the...
9
by: Miro | last post by:
VB 2003 at the end of the code, this works great. bytCommand = Encoding.ASCII.GetBytes("testing hello send text") udpClient.Send(bytCommand, bytCommand.Length) and this recieves it Dim...
2
by: neat2006 | last post by:
This is somewhat of a strange issue. Allow me to detail it as much as I can. We use the Blackboard Transaction System (BTS) for all students dinning services. The "ENVISION" server is Running...
2
by: orandov | last post by:
Hi, I am having a problem connecting my .net applications from the application server to the database server. When I run the application from my windows xp (sp2) box it works fine. When I try to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.