Anyway, changing the port number and explicitly using the 127.0.0.1 IP did not seem to help. Here are my terminal results:
Code: Select all
MAC-PMoccio:public pmoccio$ lsof -nP -iTCP:8015
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
LogMX 6354 pmoccio 58u IPv6 0x4f324df2b074e6af 0t0 TCP 127.0.0.1:8015 (LISTEN)
MAC-PMoccio:public pmoccio$ curl -i -H "Content-Type: application/json" http://127.0.0.1:8015/logmx -d '{"id":"1", "logger":"TestLogger", "level":"DEBUG", "message":"Test message"}' --trace-ascii /dev/stdout
== Info: Trying 127.0.0.1...
== Info: TCP_NODELAY set
== Info: Connected to 127.0.0.1 (127.0.0.1) port 8015 (#0)
=> Send header, 136 bytes (0x88)
0000: POST /logmx HTTP/1.1
0016: Host: 127.0.0.1:8015
002c: User-Agent: curl/7.54.0
0045: Accept: */*
0052: Content-Type: application/json
0072: Content-Length: 76
0086:
=> Send data, 76 bytes (0x4c)
0000: {"id":"1", "logger":"TestLogger", "level":"DEBUG", "message":"Te
0040: st message"}
== Info: upload completely sent off: 76 out of 76 bytes
<= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
HTTP/1.1 200 OK
<= Recv header, 2477 bytes (0x9ad)
0000: Access-control-allow-headers: Accept, Accept-CH, Accept-Charset,
0040: Accept-Datetime, Accept-Encoding, Accept-Ext, Accept-Features,
0080: Accept-Language, Accept-Params, Accept-Ranges, Access-Control-Al
00c0: low-Credentials, Access-Control-Allow-Headers, Access-Control-Al
0100: low-Methods, Access-Control-Allow-Origin, Access-Control-Expose-
0140: Headers, Access-Control-Max-Age, Access-Control-Request-Headers,
0180: Access-Control-Request-Method, Age, Allow, Alternates, Authenti
01c0: cation-Info, Authorization, C-Ext, C-Man, C-Opt, C-PEP, C-PEP-In
0200: fo, CONNECT, Cache-Control, Compliance, Connection, Content-Base
0240: , Content-Disposition, Content-Encoding, Content-ID, Content-Lan
0280: guage, Content-Length, Content-Location, Content-MD5, Content-Ra
02c0: nge, Content-Script-Type, Content-Security-Policy, Content-Style
0300: -Type, Content-Transfer-Encoding, Content-Type, Content-Version,
0340: Cookie, Cost, DAV, DELETE, DNT, DPR, Date, Default-Style, Delta
0380: -Base, Depth, Derived-From, Destination, Differential-ID, Digest
03c0: , ETag, Expect, Expires, Ext, From, GET, GetProfile, HEAD, HTTP-
0400: date, Host, IM, If, If-Match, If-Modified-Since, If-None-Match,
0440: If-Range, If-Unmodified-Since, Keep-Alive, Label, Last-Event-ID,
0480: Last-Modified, Link, Location, Lock-Token, MIME-Version, Man, M
04c0: ax-Forwards, Media-Range, Message-ID, Meter, Negotiate, Non-Comp
0500: liance, OPTION, OPTIONS, OWS, Opt, Optional, Ordering-Type, Orig
0540: in, Overwrite, P3P, PEP, PICS-Label, POST, PUT, Pep-Info, Perman
0580: ent, Position, Pragma, ProfileObject, Protocol, Protocol-Query,
05c0: Protocol-Request, Proxy-Authenticate, Proxy-Authentication-Info,
0600: Proxy-Authorization, Proxy-Features, Proxy-Instruction, Public,
0640: RWS, Range, Referer, Refresh, Resolution-Hint, Resolver-Locatio
0680: n, Retry-After, Safe, Sec-Websocket-Extensions, Sec-Websocket-Ke
06c0: y, Sec-Websocket-Origin, Sec-Websocket-Protocol, Sec-Websocket-V
0700: ersion, Security-Scheme, Server, Set-Cookie, Set-Cookie2, SetPro
0740: file, SoapAction, Status, Status-URI, Strict-Transport-Security,
0780: SubOK, Subst, Surrogate-Capability, Surrogate-Control, TCN, TE,
07c0: TRACE, Timeout, Title, Trailer, Transfer-Encoding, UA-Color, UA
0800: -Media, UA-Pixels, UA-Resolution, UA-Windowpixels, URI, Upgrade,
0840: User-Agent, Variant-Vary, Vary, Version, Via, Viewport-Width, W
0880: WW-Authenticate, Want-Digest, Warning, Width, X-Content-Duration
08c0: , X-Content-Security-Policy, X-Content-Type-Options, X-CustomHea
0900: der, X-DNSPrefetch-Control, X-Forwarded-For, X-Forwarded-Port, X
0940: -Forwarded-Proto, X-Frame-Options, X-Modified, X-OTHER, X-PING,
0980: X-PINGOTHER, X-Powered-By, X-Requested-With
Access-control-allow-headers: Accept, Accept-CH, Accept-Charset, Accept-Datetime, Accept-Encoding, Accept-Ext, Accept-Features, Accept-Language, Accept-Params, Accept-Ranges, Access-Control-Allow-Credentials, Access-Control-Allow-Headers, Access-Control-Allow-Methods, Access-Control-Allow-Origin, Access-Control-Expose-Headers, Access-Control-Max-Age, Access-Control-Request-Headers, Access-Control-Request-Method, Age, Allow, Alternates, Authentication-Info, Authorization, C-Ext, C-Man, C-Opt, C-PEP, C-PEP-Info, CONNECT, Cache-Control, Compliance, Connection, Content-Base, Content-Disposition, Content-Encoding, Content-ID, Content-Language, Content-Length, Content-Location, Content-MD5, Content-Range, Content-Script-Type, Content-Security-Policy, Content-Style-Type, Content-Transfer-Encoding, Content-Type, Content-Version, Cookie, Cost, DAV, DELETE, DNT, DPR, Date, Default-Style, Delta-Base, Depth, Derived-From, Destination, Differential-ID, Digest, ETag, Expect, Expires, Ext, From, GET, GetProfile, HEAD, HTTP-date, Host, IM, If, If-Match, If-Modified-Since, If-None-Match, If-Range, If-Unmodified-Since, Keep-Alive, Label, Last-Event-ID, Last-Modified, Link, Location, Lock-Token, MIME-Version, Man, Max-Forwards, Media-Range, Message-ID, Meter, Negotiate, Non-Compliance, OPTION, OPTIONS, OWS, Opt, Optional, Ordering-Type, Origin, Overwrite, P3P, PEP, PICS-Label, POST, PUT, Pep-Info, Permanent, Position, Pragma, ProfileObject, Protocol, Protocol-Query, Protocol-Request, Proxy-Authenticate, Proxy-Authentication-Info, Proxy-Authorization, Proxy-Features, Proxy-Instruction, Public, RWS, Range, Referer, Refresh, Resolution-Hint, Resolver-Location, Retry-After, Safe, Sec-Websocket-Extensions, Sec-Websocket-Key, Sec-Websocket-Origin, Sec-Websocket-Protocol, Sec-Websocket-Version, Security-Scheme, Server, Set-Cookie, Set-Cookie2, SetProfile, SoapAction, Status, Status-URI, Strict-Transport-Security, SubOK, Subst, Surrogate-Capability, Surrogate-Control, TCN, TE, TRACE, Timeout, Title, Trailer, Transfer-Encoding, UA-Color, UA-Media, UA-Pixels, UA-Resolution, UA-Windowpixels, URI, Upgrade, User-Agent, Variant-Vary, Vary, Version, Via, Viewport-Width, WWW-Authenticate, Want-Digest, Warning, Width, X-Content-Duration, X-Content-Security-Policy, X-Content-Type-Options, X-CustomHeader, X-DNSPrefetch-Control, X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto, X-Frame-Options, X-Modified, X-OTHER, X-PING, X-PINGOTHER, X-Powered-By, X-Requested-With
<= Recv header, 37 bytes (0x25)
0000: Date: Tue, 11 Jun 2019 17:00:30 GMT
Date: Tue, 11 Jun 2019 17:00:30 GMT
<= Recv header, 32 bytes (0x20)
0000: Content-type: application/json
Content-type: application/json
<= Recv header, 32 bytes (0x20)
0000: Access-control-allow-origin: *
Access-control-allow-origin: *
<= Recv header, 19 bytes (0x13)
0000: Content-length: 0
Content-length: 0
<= Recv header, 2 bytes (0x2)
0000:
== Info: Connection #0 to host 127.0.0.1 left intact
MAC-PMoccio:public pmoccio$
Also attached a saved health report if that helps at all.