Solved

CLIENT SERVER APPLICATION REMOTE SERVER ACCESS

Posted on 2012-03-13
19
294 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
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.

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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