Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i Know that my question is easy to be solved

i want the best method to can publish my server over internet so i can access it from my home computer

i can do it using VPN network as i searched but i do not want to do like this

and i do not want to setup HTTP server or any other external server

Can i use IIS?
Posted
Comments
Lucian Adrian Rosu 12-Jan-12 5:41am    
The main question is what do you want to do with this server?
amertarekt 12-Jan-12 14:18pm    
i have server i wrote it in c#

i want to publish it to can access it through any computer over internet

1 solution

If your server is written using WCF, then IIS is the easiest way to expose it.
 
Share this answer
 
Comments
amertarekt 12-Jan-12 14:16pm    
please tell me how to publish wcf using IIS and how to access it remotely

and what about if the server is windows form application?
Catalin Serafimescu 12-Jan-12 16:28pm    
The server is conceptually separated from host. You write a server and you host it. You can host a WCF server in any process: console/windows app, windows service or IIS. See http://msdn.microsoft.com/en-us/library/bb332338.aspx
How to expose your endpoint it's another matter. You don't actually need IIS to expose a WCF service, but I think you'll need a static IP.
On another topic, you can build a web application to send messages/commands to your service.
It would be useful if you explain what you did.
amertarekt 13-Jan-12 12:17pm    
what i have is a C# windows form application server that is listen to specific port and clients connect to the server and send files to it and the server accept the files and save them

what i want i want to run the server in my home and access it from any place to can send files to it

my computer home has a static ip
amertarekt 16-Jan-12 8:38am    
i read in WCF

i make wxf service and publish it using IIS 7 now i can access the service through my local network

how can i access it through internet without using VPN network
Catalin Serafimescu 16-Jan-12 9:25am    
I can't help you with this, but I think you need a public IP address. Replace the computer name with IP address in WSDL bindings and I think it should work.

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