projectdiscovery/nuclei · error
no port provided in network protocol request
Error message
no port provided in network protocol request
What it means
Error "no port provided in network protocol request" thrown in projectdiscovery/nuclei.
Source
Thrown at pkg/protocols/network/request.go:220
callback(&output.InternalWrappedEvent{InternalEvent: outputEvent})
}
if shouldStopAtFirstMatch && atomicBool.Load() {
break
}
}
return err
}
// executeAddress executes the request for an address
func (request *Request) executeAddress(variables map[string]interface{}, actualAddress, address string, input *contextargs.Context, shouldUseTLS bool, previous output.InternalEvent, interactshURLs []string, callback protocols.OutputEventCallback) error {
variables = generators.MergeMaps(variables, map[string]interface{}{"Hostname": address})
payloads := generators.BuildPayloadFromOptions(request.options.Options)
if !strings.Contains(actualAddress, ":") {
err := errors.New("no port provided in network protocol request")
request.options.Output.Request(request.options.TemplatePath, address, request.Type().String(), err)
request.options.Progress.IncrementFailedRequestsBy(1)
return err
}
updatedTarget := input.Clone()
updatedTarget.MetaInput.Input = actualAddress
// if request threads matches global payload concurrency we follow it
shouldFollowGlobal := request.Threads == request.options.Options.PayloadConcurrency
if request.generator != nil {
iterator := request.generator.NewIterator()
var multiErr error
m := &sync.Mutex{}
swg, err := syncutil.New(syncutil.WithSize(request.Threads))
if err != nil {
return err
}View on GitHub (pinned to 265b3a3dec)
When it happens
Trigger: Thrown at pkg/protocols/network/request.go:220 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of projectdiscovery/nuclei@265b3a3dec (2026-08-15).
Data as JSON: /api/errors/db117f281cf1b67d.
Report an issue: GitHub.