I had this working some many months ago, but now I can't get it to work.
Really annoying. The entire process is so arcane...

My HTTP server starts like this:

Teapot stopAll.
Teapot on
   Get: blah blah blah

Then I visit http://localhost:1701/.

I created a self-signed cert called newcert.pem. My HTTPS server starts like
this:

Teapot stopAll.
secureServer := (ZnSecureServer on: 1443)
   certificate: '/home/richard/newcert.pem';
   logToTranscript;
   start;
   yourself.
teapot := Teapot configure: { #znServer -> secureServer }.
teapot
   Get: blah blah blah

When I visit https://localhost/, I get "Unable to connect". I tried
localhost:1701, localhost:1443, just about every damn port number I can
think of. No joy.

So what the devil am I doing wrong???



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply via email to