Page Index Toggle Pages: [1] 2 3  Send Topic Send Topic Print Print
Very Hot Topic (More than 25 Replies) Sesame Client over the Internet (Read 8415 times)
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Sesame Client over the Internet
Jun 5th, 2012 at 6:01pm
Print Post Print Post  
I am trying to get a Sesame Client connected to server over the Internet with no success. Do I have to open up ports in the router and the firewall? What ports do I have to open? I am having static IP and I am using following Line as the target in shortcut to get connected--
C:\Sesame2\Program\sesame.exe -client xx.xxx.x.xxx

Please help.
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Sesame Client over the Internet
Reply #1 - Jun 5th, 2012 at 6:19pm
Print Post Print Post  
20000 and 20001 are the default ports.

You will need to consider the firewall in the router and any firewalls that may be running on the server computer itself.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
lksseven
Full Member
***
Offline



Posts: 416
Location: Southwest
Joined: Jan 26th, 2009
Re: Sesame Client over the Internet
Reply #2 - Jun 5th, 2012 at 6:25pm
Print Post Print Post  
Bharat,

my shortcut looks like this:

C:\sesame2\Program\sesame.exe -client xx.xx.xx.xxx:YYYYY:ZZZZZ

where "x" represents the server static IP;  "Y" represents the beginning Sesame server port; and "Z" represents the ending Sesame server port
  

Larry
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Sesame Client over the Internet
Reply #3 - Jun 5th, 2012 at 9:16pm
Print Post Print Post  
Just to clarify, its not a beginning port and ending port in the sense of a range of ports. It is simply two ports with different numbers. So, for example, should you use ports 20000 and 20020, Sesame will not use ports 20001 through 20019. It will just use 20000 and 20020.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: Sesame Client over the Internet
Reply #4 - Jun 5th, 2012 at 9:36pm
Print Post Print Post  
lksseven,
Did you have to open up ports in the firewall of router and firewall of Windows ( or zoneAlarm or other software) before you could connect?
  
Back to top
 
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: Sesame Client over the Internet
Reply #5 - Jun 5th, 2012 at 9:40pm
Print Post Print Post  
Can I assign the ports to sesame to use that I know are open both in router firewall and software firewall?  I had opened up 8080, 3386, 5631 and 5632 for other software. I am not using them that much. Can I assign those ports to Sesame? How do I do that?  Do I write Port 8080 as 08080 or just 8080? I am also using LAN so, I do not want to see that interfering with LAN. I do have enough licenses, so I believe that should not be a problem.
  
Back to top
 
IP Logged
 
lksseven
Full Member
***
Offline



Posts: 416
Location: Southwest
Joined: Jan 26th, 2009
Re: Sesame Client over the Internet
Reply #6 - Jun 5th, 2012 at 10:58pm
Print Post Print Post  
Bharat,

I did, in fact, notify/designate in my security firewall software (F-secure), both on the server and on the client, about allowing my Sesame ports.

Cow,

Thank you for that clarification.  I'm happy to not be 'fuzzy' on that any longer (although it's still a long list...)
« Last Edit: Jun 6th, 2012 at 1:01am by lksseven »  

Larry
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: Sesame Client over the Internet
Reply #7 - Jun 6th, 2012 at 1:53pm
Print Post Print Post  
Bharat_Naik wrote on Jun 5th, 2012 at 9:36pm:
lksseven,
Did you have to open up ports in the firewall of router and firewall of Windows ( or zoneAlarm or other software) before you could connect? 


You will need to open those ports on both the Firewall on the router and on the server(which should already be open). Also depending on how you are set up you may also need to tell the router to forward ports 20,000 & 20,0001(or the ports you use) to your server computer. There should be a section in the Router admin page that says Port Forwarding or maybe just Forwarding where you can do this.

Bharat_Naik wrote on Jun 5th, 2012 at 9:40pm:
Can I assign the ports to sesame to use that I know are open both in router firewall and software firewall?  I had opened up 8080, 3386, 5631 and 5632 for other software. I am not using them that much. Can I assign those ports to Sesame? How do I do that?  Do I write Port 8080 as 08080 or just 8080? I am also using LAN so, I do not want to see that interfering with LAN. I do have enough licenses, so I believe that should not be a problem.


You say you are not using them that much, that means you are using them some. If you assign those ports to Sesame, Sesame is going to try to handle ALL communication on those ports, which means it's going to try to answer what those other programs are asking. My advice is to just open ports 20000 and 20001 in the firewall and leave those other ports for the other programs. Also I may be wrong on this, and Mark will correct me if I am, but you should always have Sesame's second port 1 number higher than the first port, so use consecutive numbers.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: Sesame Client over the Internet
Reply #8 - Jun 6th, 2012 at 2:52pm
Print Post Print Post  
After opening up the ports 20000 and 20001 in firewalls, it connects fine over the internet. Is there any way that instead of using client resources (such as printer and file systems, external programs), it can use the resources on the server?
  
Back to top
 
IP Logged
 
lksseven
Full Member
***
Offline



Posts: 416
Location: Southwest
Joined: Jan 26th, 2009
Re: Sesame Client over the Internet
Reply #9 - Jun 6th, 2012 at 8:22pm
Print Post Print Post  
Yes, I would also love it if the Sesame client over the internet could use the Sesame server's printers
  

Larry
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: Sesame Client over the Internet
Reply #10 - Jun 6th, 2012 at 8:37pm
Print Post Print Post  
Google Cloud Printer is used over internet. For Client connected through Internet, if the server printer is configured as Google Cloud printer.  Is there any way to use Sesame to print through Google cloud printer on server printer? Just wondering...
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Sesame Client over the Internet
Reply #11 - Jun 6th, 2012 at 9:08pm
Print Post Print Post  
Bharat,

I assume when you mention "resources" you are talking about resources available from SBasic. Most of the "resources-in-general" that Sesame uses, are used on the server already. For example, when you open an application, you are scanning the file-system on the server, not the client, for application files.

But, SBasic usually runs in the client so that it can have access to the form from which it was invoked. We can't give SBasic free reign over resources on the server because that would allow the end user a tremendous amount of power over a computer that everyone shares. Sesame server is often invoked by someone with administrative authority over that computer. Sesame "inherits" that authority. So, should we hand SBasic that same power, it would be relatively trivial for someone to write a small mass-update that can do big damage to the server computer's file-system. This is why there are special entries in the sesame.ini file for the server just dealing with SBasic running on the server, for those rare cases (retrieve specs and mass-update-on-server) when SBasic can be run on the server.

Otherwise, you can access any resource available to the client, which may very well be the server's printer or file-system. I would not, though, recommend that you expose either to the Internet.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: Sesame Client over the Internet
Reply #12 - Jun 6th, 2012 at 9:44pm
Print Post Print Post  
Thanks Mark for the explanation. What about just a printer? Many time I have to work remotely and it is good to know that I can work remotely using Sesame Client over the net. If only I can just print out a document on office printer that my secretary can give it to the client!!
  
Back to top
 
IP Logged
 
lksseven
Full Member
***
Offline



Posts: 416
Location: Southwest
Joined: Jan 26th, 2009
Re: Sesame Client over the Internet
Reply #13 - Jun 6th, 2012 at 11:41pm
Print Post Print Post  
So, regarding printing from a remote Sesame client to a main location printer, I guess what Bharat and I are really wanting is a little client/server print server?
  

Larry
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Sesame Client over the Internet
Reply #14 - Jun 7th, 2012 at 12:56pm
Print Post Print Post  
Bharat, Lkseven,

You can set up a printer to be available remotely. There are several protocols available that provide some security. If it is a network printer, you can use port forwarding in your router to access it remotely. If it is a local printer on a computer, you can forward the "share" on that computer. The details depend on the printer, the computer, and the router.

Be forewarned, opening up your network to the outside world is perilous, especially using MS software and OSs. It would be wise to place one machine (and maybe its printer) in the DMZ of your router and make sure it has no other network connections in your facility.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send Topic Send Topic Print Print