[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

CLIENT SERVER APPLICATION REMOTE SERVER ACCESS

Posted on 2012-03-13
19
Medium Priority
?
313 Views
Last Modified: 2012-06-27
Hi All,

I create a windows app. I want to access server from client computer.
The server is also serve as web server.

How could I do it ?

Thank you.
0
Comment
Question by:emi_sastra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 12
  • 7
19 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37717661
Access server within your app? What sort of access?
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 37717773
Client Server Application.

Application is run at client side and access database to remote server.

Thank you.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37717802
There are loads of options

-Remoting
-WCF
-Web Services
-TCP/IP
-HTTP
...
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:emi_sastra
ID: 37717812
Which one is simple to adapt from LAN Application ?

Using IP connection string or something else which is simple ?

Thank you.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 37717865
Below are the screen shot of the remote server.

Thank you.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 37717872
Below are the screen shot of the remote server.

Thank you.
REMOTE-SQL-SERVER.PNG
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37717905
If you are only using .NET clients then WCF should work. Webservices would also do the job.

>Using IP connection string or something else which is simple ?

For you would need to open your SQL Server onto internet which is not desired and most firewalls would block the connection anyway.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 37717907
What I mean simple is we don't have to change the way we fetch data from LAN SQL server, but just change the connection.

Thank you.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37717917
Is this server on LAN or WAN? If WAN then it wont be very simple. As I said, you would be exposing your database server on the internet and your hosting company would probably block the port anyway.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 37717930
- For you would need to open your SQL Server onto internet which is not desired and most firewalls would block the connection anyway.

Let me try it first. If there is other way the please tell me.

How could do it ?

Thank you.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 37717936
- Is this server on LAN or WAN? If WAN then it wont be very simple. As I said, you would be exposing your database server on the internet and your hosting company would probably block the port anyway.

It is a web server.
Let's say the company allow us to do it, since it is dedicated web server.

Thank you.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 37717938
Or let's say it just a company server reside at the company and connected through internet.
The user could use application which reside at client computer from the branch or warehouse somewhere else.

Thank you.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37717946
There are usually two options

1) Use tunneling and then the server will be same as if it was on LAN

2) Use one of the options I have previously mentioned.

-1) You can expose the SQL server on web and use it that way but that's not recommended.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 37717952
Great.

How could I do it using option 1 ?

-1) You can expose the SQL server on web and use it that way but that's not recommended.
We could set the windows server security to accept incoming user  and Ip address. Could we ?

Thank you.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37717963
For -1, I do not know the exact details of how to achieve it but I think it will be troublesome

For 1, use VPN. Ask your network administrator.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 37717970
We don't use VPN just have public/static IP.

Thank you.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 37718018
Would you please provide good code or link to configuring tcp/ip tunneling through SSH ?

Thank you.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 37719541
0
 
LVL 1

Author Closing Comment

by:emi_sastra
ID: 37723251
Great.

Thank you very much for your help.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question