Click here to Skip to main content
15,892,965 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Normally I use port 1433 or 1434 for connection to database. In this situation I am not allowed to open port but I am allowed to install windows services or other type of service on that server. Please, I don’t know a lot about services and communication between web application and services. Moreover, Ip address of sql server is not static but changes one or two time per year and I have to get some images from folder on the server as well.
Could somebody help me what is the best solution?
To add. They said that thay don't have password to change setting of router. I wrote windows service which accessed to database and got external Ip address and wrote it to log (for testing purpose). Do I need specific port for communication with this service? What is the easiest way of communication between web application and the service? Do I need WCF service or something else?

Thanks,
Bobo
Posted
Updated 5-Jul-15 10:40am
v2
Comments
[no name] 5-Jul-15 15:32pm    
The best solution for you would be to talk to your network admin and find out what they can do to enable you to do your job.

1 solution

Talk to your network admins about it.

Either they open the ports so your code can talk to the SQL Server or they have to give you some options.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900