Solved

CLIENT SERVER APPLICATION REMOTE SERVER ACCESS

Posted on 2012-03-13
19
290 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
  • 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
 
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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now