Skip to content

Server.o does not respect the PORT argument #1

@ZonicTrout

Description

@ZonicTrout

when I run "./server.o 3000" it does not give me a connection on port 3000, but on port 5000 instead. I also noticed that in main.c there is no inclusion of argc or argv, so it likely isn't listening for any cli arguments. I will eventually try and submit a pull request and try and fix it, but it may take away because I am not quite familiar with the code yet. I discovered this when I ran an "nmap" scan on my loaclhost, and it only showed up for port 5000. I hope I can help fix this soon!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions